ContainerImage.GitSparseClone/Dockerfile
Danny Bessems 8f90e50e93
All checks were successful
continuous-integration/drone/push Build is passing
Update 'Dockerfile'
2020-08-17 14:50:27 +00:00

15 lines
396 B
Docker

FROM alpine:latest
RUN apk --update add \
git \
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"]