Skip to content

Instantly share code, notes, and snippets.

@micahlee
Created September 6, 2019 19:09
Show Gist options
  • Save micahlee/6ce0e9bf4982f094896dcf1fce028ed8 to your computer and use it in GitHub Desktop.
Save micahlee/6ce0e9bf4982f094896dcf1fce028ed8 to your computer and use it in GitHub Desktop.
Seedfetcher Dockerfile
# Main container
FROM alpine:3.9
RUN apk add --no-cache bash \
jq \
wget
ENV CONJUR_VERSION=5 \
CONTAINER_MODE=init
# allow anyone to write to this dir, container may not run as root
RUN mkdir -p /etc/conjur/ssl && chmod 777 /etc/conjur/ssl
COPY authenticator \
get-seedfile.sh \
start-follower-docker-master.sh \
start-follower-oc-master.sh /usr/bin/
RUN chmod +x /usr/bin/get-seedfile.sh \
/usr/bin/start-follower-docker-master.sh \
/usr/bin/start-follower-oc-master.sh
CMD ["get-seedfile.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment