Dockerfile 659 B

12345678910111213141516171819202122232425262728293031
  1. FROM alpine:3.18
  2. LABEL maintainer "The Infrastructure Company GmbH GmbH <info@servercow.de>"
  3. ARG PIP_BREAK_SYSTEM_PACKAGES=1
  4. RUN apk upgrade --no-cache \
  5. && apk add --update --no-cache \
  6. bash \
  7. curl \
  8. openssl \
  9. bind-tools \
  10. jq \
  11. mariadb-client \
  12. redis \
  13. tini \
  14. tzdata \
  15. python3 \
  16. py3-pip \
  17. && pip3 install --upgrade pip \
  18. && pip3 install acme-tiny
  19. COPY acme.sh /srv/acme.sh
  20. COPY functions.sh /srv/functions.sh
  21. COPY obtain-certificate.sh /srv/obtain-certificate.sh
  22. COPY reload-configurations.sh /srv/reload-configurations.sh
  23. COPY expand6.sh /srv/expand6.sh
  24. RUN chmod +x /srv/*.sh
  25. CMD ["/sbin/tini", "-g", "--", "/srv/acme.sh"]