Skip to content

Commit

Permalink
Update Docker image versions
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryoverload authored Oct 31, 2024
1 parent c15c1d8 commit c798829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# --- builder ---
FROM golang:1.20.6-alpine3.17 as builder
FROM golang:1.22-alpine3.20 as builder

Check warning on line 2 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-publish

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
LABEL stage=builder
RUN apk add git
WORKDIR /build
Expand All @@ -12,7 +12,7 @@ ARG BUILD_STRING=pretendo.ssfiv.docker
RUN go build -ldflags "-X 'main.serverBuildString=${BUILD_STRING}'" -v -o server

# --- runner ---
FROM alpine:3.17 as runner
FROM alpine:3.20 as runner

Check warning on line 15 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-publish

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /build

COPY --from=builder /build/server /build/
Expand Down

0 comments on commit c798829

Please sign in to comment.