ContainerImage.GitSparseClone/Dockerfile

9 lines
283 B
Docker

FROM alpine/git:1.0.7
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"]