blob: 8369ce3d9126f179302b9473eb2ee512712d5dce [file] [log] [blame]
Matthias Andreas Benkardb382b102021-01-02 15:32:21 +01001FROM alpine:3.11
2
3LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
4
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 \
17 && python3 -m pip install --upgrade pip \
18 && python3 -m pip install acme-tiny
19
20COPY acme.sh /srv/acme.sh
21COPY functions.sh /srv/functions.sh
22COPY obtain-certificate.sh /srv/obtain-certificate.sh
23COPY reload-configurations.sh /srv/reload-configurations.sh
24COPY expand6.sh /srv/expand6.sh
25
26RUN chmod +x /srv/*.sh
27
28CMD ["/sbin/tini", "-g", "--", "/srv/acme.sh"]