Dockerfile 452 B

1234567891011121314151617181920
  1. FROM debian:buster
  2. ENV CERT_DIR "/etc/ssl/certs"
  3. # install openssl
  4. RUN apt-get --quiet update
  5. RUN apt-get --quiet --yes install openssl libfaketime
  6. # move base files to the container
  7. COPY config/* /
  8. COPY docker-entrypoint.sh /
  9. # enable volume to generate certificates into the hosts FS
  10. VOLUME ["$CERT_DIR"]
  11. # preload faketime library
  12. ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/faketime/libfaketime.so.1
  13. # start
  14. ENTRYPOINT ["/docker-entrypoint.sh"]