Skip to content

Commit

Permalink
Update Dockerfile (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksraiden authored Aug 5, 2024
1 parent 0135649 commit cd0c4f3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM golang:1.19-alpine3.18 as build
FROM golang:1.22-alpine3.20 AS build

ARG TARGETARCH

RUN apk update && apk add make
RUN apk update && apk upgrade && apk add make
WORKDIR /kvrocks_exporter

COPY . .
RUN make build-binaries ARCH=${TARGETARCH}


FROM alpine:3.18
FROM alpine:3.20

COPY --from=build /kvrocks_exporter/.build/kvrocks_exporter /kvrocks_exporter

Expand Down

0 comments on commit cd0c4f3

Please sign in to comment.