You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
435 B
Docker
16 lines
435 B
Docker
FROM alpine:latest
|
|
|
|
RUN apk upgrade --update-cache --available && \
|
|
apk 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"] |