ContainerImage.GitSparseClone/Dockerfile
Danny Bessems 89a9b0361a
Some checks reported errors
continuous-integration/drone/push Build was killed
Update 'Dockerfile'
2020-08-17 14:34:56 +00:00

16 lines
420 B
Docker

FROM alpine:latest
RUN apk --update --no-cache add \
git \
less \
openssh && \
rm -rf /var/lib/apt/lists/* && \
rm /var/cache/apk/*
COPY init/entrypoint.sh /tmp/entrypoint.sh
RUN chmod +x /tmp/entrypoint.sh
ENTRYPOINT ["/tmp/entrypoint.sh"]
# Uncomment the following line if your sidecar needs to stay alive (ie. when your sidecar is *not* an initContainer)
#CMD ["tail", "-f", "/dev/null"]