Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Install git binary in Docker image.
Browse files Browse the repository at this point in the history
  • Loading branch information
rtnpro committed Dec 22, 2020
1 parent d734e88 commit 8f1da25
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -a -o applic

# Use distroless as minimal base image to package the manager binary
FROM debian:10-slim
RUN apt-get update && apt-get upgrade -y && \
apt-get install -y git-all && \
rm -r /var/lib/apt/lists /var/cache/apt/archives
WORKDIR /
COPY --from=builder /workspace/applicationset-controller /usr/local/bin/

0 comments on commit 8f1da25

Please sign in to comment.