Skip to content

Commit

Permalink
Correcting docker build to include tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mettke committed Jun 15, 2019
1 parent ecac05d commit ed826fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM alpine
LABEL maintainer="Marc Mettke <[email protected]>"

ENV SYSTEM https://github.com/mettke/ssl-cert-authority.git
ENV TAG v0.3.1
ADD entrypoint.sh /entrypoint.sh
ADD healthcheck.sh /healthcheck.sh
ADD cron /var/spool/cron/crontabs/root
Expand All @@ -27,6 +28,7 @@ RUN mkdir -p /var/log/cert/ /run/php/ /sca/ && \
ln -sf /dev/stderr /var/log/php7/error.log
RUN apk add git && \
git clone ${SYSTEM} /sca && \
git -C /sca checkout ${TAG} && \
apk del git && \
chown -R cert-sync:nogroup /sca/config

Expand Down

0 comments on commit ed826fb

Please sign in to comment.