summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRudolf Horváth <R-Rudolf@users.noreply.github.com>2025-12-29 15:12:37 +0100
committerGitHub <noreply@github.com>2025-12-29 15:12:37 +0100
commit83be9ddcf82e8a90ea50a9d54c1ebfc3e22ace16 (patch)
tree412a5073064a93a24cf5c15b19784105504164ae
parentc1268d3297e6ec274e3362c6dbfeca8df9ad75c4 (diff)
Add git to the docker image for full functionality (#21)
-rw-r--r--Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 8f70afd..6a189a1 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -10,8 +10,11 @@ COPY . .
RUN CGO_ENABLED=0 go build -o gitmal .
+
FROM alpine
+RUN apk add --no-cache git
+
COPY --from=builder /go/gitmal /bin/gitmal
WORKDIR /data