4
0

Dockerfile.step-ca 420 B

1234567891011121314151617
  1. FROM smallstep/step-cli:0.8.3
  2. ARG BINPATH="bin/step-ca"
  3. ENV PORT=9000
  4. ENV CONFIGPATH="/home/step/.step/config/ca.json"
  5. ENV PWDPATH="/home/step/secrets/password"
  6. COPY $BINPATH "/usr/local/bin/step-ca"
  7. EXPOSE $PORT
  8. VOLUME ["/home/step/.step/secrets"]
  9. VOLUME ["/home/step/.step/config"]
  10. VOLUME ["/home/step/secrets"]
  11. STOPSIGNAL SIGTERM
  12. CMD exec /bin/sh -c "/usr/local/bin/step-ca --password-file $PWDPATH $CONFIGPATH"