blob: 898dd8b660bf4d30b8b996ac0eed513b521079ef [file] [log] [blame]
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +01001FROM alpine:3.17
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +01002
Matthias Andreas Benkardd1f5b682023-11-18 13:18:30 +01003LABEL maintainer "The Infrastructure Company GmbH <info@servercow.de>"
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +01004
5RUN apk upgrade --no-cache \
6 && apk add --update --no-cache \
7 bash \
8 curl \
9 openssl \
10 bind-tools \
11 jq \
12 mariadb-client \
13 redis \
14 tini \
15 tzdata \
16 python3 \
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +020017 py3-pip \
18 && pip3 install --upgrade pip \
19 && pip3 install acme-tiny
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +010020
21COPY acme.sh /srv/acme.sh
22COPY functions.sh /srv/functions.sh
23COPY obtain-certificate.sh /srv/obtain-certificate.sh
24COPY reload-configurations.sh /srv/reload-configurations.sh
25COPY expand6.sh /srv/expand6.sh
26
27RUN chmod +x /srv/*.sh
28
29CMD ["/sbin/tini", "-g", "--", "/srv/acme.sh"]