Skip to content

Commit 6aff384

Browse files
committed
Add git in build environment
1 parent 014052b commit 6aff384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM golang:1.20-alpine AS build
2-
RUN apk add --no-cache gcc g++ upx
2+
RUN apk add --no-cache gcc g++ upx git
33
WORKDIR /app/
44
COPY ./ /app/
55
RUN --mount=type=cache,target=/go\

0 commit comments

Comments
 (0)