diff --git a/Dockerfile b/Dockerfile index 0100406..e8515c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG GIT_COMMIT=unknown -FROM golang:1.21.0-alpine as builder +FROM golang:1.21.1-alpine as builder ARG GIT_COMMIT RUN apk add --no-cache git WORKDIR /siderite diff --git a/Dockerfile.debian b/Dockerfile.debian index 3555355..f4504c8 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -1,5 +1,5 @@ ARG GIT_COMMIT=unknown -FROM golang:1.21.0-bullseye as builder +FROM golang:1.21.1-bullseye as builder ARG GIT_COMMIT WORKDIR /siderite COPY go.mod . @@ -12,7 +12,7 @@ RUN go mod download COPY . . RUN GIT_COMMIT=$GIT_COMMIT go build -ldflags "-X github.com/philips-labs/siderite/cmd.GitCommit=${GIT_COMMIT}" -FROM golang:1.21.0-bullseye +FROM golang:1.21.1-bullseye WORKDIR /app COPY --from=builder /siderite/siderite /app ENTRYPOINT ["/app/siderite","runner"]