Skip to content

Commit

Permalink
Merge pull request #65 from lc/fix-dockerfile
Browse files Browse the repository at this point in the history
fix(gau): update dockerfile
  • Loading branch information
lc committed Jan 18, 2022
2 parents 59882a1 + d4a0cd2 commit f778e22
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 @@
# Build image: golang:1.14-alpine3.13
FROM golang@sha256:ef409ff24dd3d79ec313efe88153d703fee8b80a522d294bb7908216dc7aa168 as build
FROM golang:1.17-alpine3.15 as build

WORKDIR /app

Expand All @@ -9,7 +9,7 @@ RUN go mod download && go build -o ./build/gau ./cmd/gau
ENTRYPOINT ["/app/gau/build/gau"]

# Release image: alpine:3.14.1
FROM alpine@sha256:be9bdc0ef8e96dbc428dc189b31e2e3b05523d96d12ed627c37aa2936653258c
FROM alpine:3.14.1

RUN apk -U upgrade --no-cache
COPY --from=build /app/build/gau /usr/local/bin/gau
Expand Down

0 comments on commit f778e22

Please sign in to comment.