Skip to content

Commit

Permalink
Bump golang from 1.21.6 to 1.22.2 (#119)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Florian Hopfensperger <f.hopfensperger@gmail.com>
  • Loading branch information
dependabot[bot] and fhopfensperger authored May 3, 2024
1 parent 2750c82 commit 09f615a
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,12 +1,12 @@
FROM golang:1.21.6 as goBuilder
FROM golang:1.22 as goBuilder

USER root
WORKDIR /work
COPY . .
ARG BUILD_VERSION="0.0.0"
RUN CGO_ENABLED=0 go build -a -ldflags "-X main.version=$BUILD_VERSION" -o json-log-to-human-readable .

FROM alpine:3.19.0
FROM alpine:3.19

LABEL maintainer="Florian Hopfensperger <f.hopfensperger@gmail.com>"

Expand All @@ -19,4 +19,4 @@ WORKDIR /app

COPY --chown=1000:0 --from=goBuilder /work/json-log-to-human-readable .

ENTRYPOINT ["./json-log-to-human-readable"]
ENTRYPOINT ["./json-log-to-human-readable"]

0 comments on commit 09f615a

Please sign in to comment.