17
17
echo "**** install build packages ****" && \
18
18
apk add --no-cache --virtual=build-dependencies \
19
19
build-base \
20
- cargo \
21
20
libffi-dev \
22
21
libxml2-dev \
23
22
libxslt-dev \
@@ -27,57 +26,10 @@ RUN \
27
26
apk add --no-cache \
28
27
fail2ban \
29
28
gnupg \
30
- memcached \
31
29
nginx-mod-http-brotli \
32
- nginx-mod-http-dav-ext \
33
- nginx-mod-http-echo \
34
- nginx-mod-http-fancyindex \
35
- nginx-mod-http-geoip2 \
36
- nginx-mod-http-headers-more \
37
- nginx-mod-http-image-filter \
38
- nginx-mod-http-perl \
39
- nginx-mod-http-redis2 \
40
- nginx-mod-http-set-misc \
41
- nginx-mod-http-upload-progress \
42
- nginx-mod-http-xslt-filter \
43
- nginx-mod-mail \
44
- nginx-mod-rtmp \
45
- nginx-mod-stream \
46
- nginx-mod-stream-geoip2 \
47
- nginx-vim \
48
- php83-bcmath \
49
- php83-bz2 \
50
- php83-dom \
51
- php83-exif \
52
- php83-ftp \
53
- php83-gd \
54
- php83-gmp \
55
- php83-imap \
56
- php83-intl \
57
- php83-ldap \
58
- php83-mysqli \
59
- php83-mysqlnd \
60
- php83-opcache \
61
- php83-pdo_mysql \
62
- php83-pdo_odbc \
63
- php83-pdo_pgsql \
64
- php83-pdo_sqlite \
65
- php83-pear \
66
- php83-pecl-apcu \
67
- php83-pecl-memcached \
68
- php83-pecl-redis \
69
- php83-pgsql \
70
- php83-posix \
71
- php83-soap \
72
- php83-sockets \
73
- php83-sodium \
74
- php83-sqlite3 \
75
- php83-tokenizer \
76
- php83-xmlreader \
77
- php83-xsl \
78
30
whois && \
79
31
apk add --no-cache --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \
80
- php83-pecl-mcrypt && \
32
+ && \
81
33
echo "**** install certbot plugins ****" && \
82
34
if [ -z ${CERTBOT_VERSION+x} ]; then \
83
35
CERTBOT_VERSION=$(curl -sL https://pypi.python.org/pypi/certbot/json |jq -r '. | .info.version' ); \
88
40
wheel && \
89
41
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.19/ \
90
42
certbot==${CERTBOT_VERSION} \
91
- certbot-dns-acmedns \
92
- certbot-dns-aliyun \
93
- certbot-dns-azure \
94
- certbot-dns-bunny \
95
- certbot-dns-cloudflare \
96
- certbot-dns-cpanel \
97
- certbot-dns-desec \
98
- certbot-dns-digitalocean \
99
- certbot-dns-directadmin \
100
- certbot-dns-dnsimple \
101
- certbot-dns-dnsmadeeasy \
102
- certbot-dns-dnspod \
103
- certbot-dns-do \
104
- certbot-dns-domeneshop \
105
- certbot-dns-dreamhost \
106
- certbot-dns-duckdns \
107
- certbot-dns-dynudns \
108
- certbot-dns-freedns \
109
- certbot-dns-gehirn \
110
- certbot-dns-glesys \
111
- certbot-dns-godaddy \
112
- certbot-dns-google \
113
- certbot-dns-google-domains \
114
- certbot-dns-he \
115
- certbot-dns-hetzner \
116
- certbot-dns-infomaniak \
117
- certbot-dns-inwx \
118
- certbot-dns-ionos \
119
- certbot-dns-linode \
120
- certbot-dns-loopia \
121
- certbot-dns-luadns \
122
- certbot-dns-namecheap \
123
- certbot-dns-netcup \
124
- certbot-dns-njalla \
125
- certbot-dns-nsone \
126
- certbot-dns-ovh \
127
- certbot-dns-porkbun \
128
- certbot-dns-rfc2136 \
129
- certbot-dns-route53 \
130
- certbot-dns-sakuracloud \
131
- certbot-dns-standalone \
132
- certbot-dns-transip \
133
- certbot-dns-vultr \
134
- certbot-plugin-gandi \
135
43
cryptography \
136
44
future \
137
45
requests && \
@@ -172,8 +80,31 @@ RUN \
172
80
/defaults/nginx/proxy-confs --strip-components=1 --exclude=linux*/.editorconfig --exclude=linux*/.gitattributes --exclude=linux*/.github --exclude=linux*/.gitignore --exclude=linux*/LICENSE && \
173
81
echo "**** cleanup ****" && \
174
82
apk del --purge \
175
- build-dependencies && \
83
+ build-dependencies \
84
+ php83 \
85
+ php83-ctype \
86
+ php83-curl \
87
+ php83-fileinfo \
88
+ php83-fpm \
89
+ php83-iconv \
90
+ php83-json \
91
+ php83-mbstring \
92
+ php83-openssl \
93
+ php83-phar \
94
+ php83-session \
95
+ php83-simplexml \
96
+ php83-xml \
97
+ php83-xmlwriter \
98
+ php83-zip \
99
+ php83-zlib && \
176
100
rm -rf \
101
+ /etc/s6-overlay/s6-rc.d/init-php/ \
102
+ /etc/s6-overlay/s6-rc.d/svc-php-fpm/ \
103
+ /etc/s6-overlay/s6-rc.d/user/contents.d/svc-php-fpm \
104
+ /etc/s6-overlay/s6-rc.d/user/contents.d/init-php \
105
+ /etc/s6-overlay/s6-rc.d/init-keygen/dependencies.d/init-php \
106
+ /etc/logrotate.d/php-fpm \
107
+ ./config/php \
177
108
/tmp/* \
178
109
$HOME/.cache \
179
110
$HOME/.cargo
0 commit comments