fix: ensure git is installed in the runtime stage of the Dockerfile

This commit is contained in:
Mandresy RABENJAHARISON 2025-07-08 17:49:45 +03:00
parent 681eae5b28
commit e929589293

View File

@ -22,5 +22,6 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /out/action ./main.go
# — Runtime stage —
########################
FROM alpine:3.20
RUN apk add --no-cache git
COPY --from=builder /out/action /usr/local/bin/action
ENTRYPOINT ["/usr/local/bin/action"]