Skip to content

Commit

Permalink
Add git in build environment
Browse files Browse the repository at this point in the history
  • Loading branch information
SeraphJACK committed Jan 19, 2024
1 parent 014052b commit 6aff384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM golang:1.20-alpine AS build
RUN apk add --no-cache gcc g++ upx
RUN apk add --no-cache gcc g++ upx git
WORKDIR /app/
COPY ./ /app/
RUN --mount=type=cache,target=/go\
Expand Down

0 comments on commit 6aff384

Please sign in to comment.