Skip to content

Commit

Permalink
fix(Dockerfile): update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lc committed Oct 23, 2023
1 parent b834d5b commit 0db165c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 43 deletions.
39 changes: 0 additions & 39 deletions 2

This file was deleted.

8 changes: 4 additions & 4 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:1.17-alpine3.15 as build
# Build image: golang:1.21.0-alpine3.17
FROM golang:1.21.0-alpine3.17 as build

WORKDIR /app

Expand All @@ -8,8 +8,8 @@ RUN go mod download && go build -o ./build/gau ./cmd/gau

ENTRYPOINT ["/app/gau/build/gau"]

# Release image: alpine:3.14.1
FROM alpine:3.14.1
# Release image: alpine:3.17
FROM alpine:3.17

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

0 comments on commit 0db165c

Please sign in to comment.