Skip to content

Commit

Permalink
Remove unnecessary layer
Browse files Browse the repository at this point in the history
  • Loading branch information
EONRaider committed Aug 11, 2021
1 parent f5539f2 commit 815a522
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ FROM golang@sha256:ef409ff24dd3d79ec313efe88153d703fee8b80a522d294bb7908216dc7aa
WORKDIR /app

COPY . .
RUN go mod download
RUN go build -o ./build/gau
RUN go mod download && go build -o ./build/gau

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

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

RUN apk -U upgrade --no-cache
Expand Down

0 comments on commit 815a522

Please sign in to comment.