Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 1 | FROM alpine:3.13 |
Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 2 | |
| 3 | LABEL maintainer "Andre Peters <andre.peters@servercow.de>" |
| 4 | |
| 5 | RUN 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 Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 17 | py3-pip \ |
| 18 | && pip3 install --upgrade pip \ |
| 19 | && pip3 install acme-tiny |
Matthias Andreas Benkard | b382b10 | 2021-01-02 15:32:21 +0100 | [diff] [blame] | 20 | |
| 21 | COPY acme.sh /srv/acme.sh |
| 22 | COPY functions.sh /srv/functions.sh |
| 23 | COPY obtain-certificate.sh /srv/obtain-certificate.sh |
| 24 | COPY reload-configurations.sh /srv/reload-configurations.sh |
| 25 | COPY expand6.sh /srv/expand6.sh |
| 26 | |
| 27 | RUN chmod +x /srv/*.sh |
| 28 | |
| 29 | CMD ["/sbin/tini", "-g", "--", "/srv/acme.sh"] |