ContainerImage.GitSparseClone/Dockerfile

16 lines
435 B
Docker
Raw Normal View History

2020-08-17 14:34:20 +00:00
FROM alpine:latest
2020-09-24 12:57:41 +00:00
RUN apk upgrade --update-cache --available && \
apk add \
2020-08-17 14:34:56 +00:00
git \
2020-08-17 14:34:20 +00:00
openssh && \
rm -rf /var/lib/apt/lists/* && \
rm /var/cache/apk/*
2020-02-17 12:39:26 +00:00
COPY init/entrypoint.sh /tmp/entrypoint.sh
RUN chmod +x /tmp/entrypoint.sh
ENTRYPOINT ["/tmp/entrypoint.sh"]
2020-02-24 14:19:56 +00:00
# Uncomment the following line if your sidecar needs to stay alive (ie. when your sidecar is *not* an initContainer)
2020-02-24 11:46:26 +00:00
#CMD ["tail", "-f", "/dev/null"]