diff --git a/caddy-with-php/supervisor/buildx/7.2/Dockerfile b/caddy-with-php/supervisor/buildx/7.2/Dockerfile index beba973..6122803 100644 --- a/caddy-with-php/supervisor/buildx/7.2/Dockerfile +++ b/caddy-with-php/supervisor/buildx/7.2/Dockerfile @@ -79,8 +79,8 @@ RUN set -eux; \ /usr/share/caddy \ /etc/supervisor/conf.d \ /srv ; \ - wget -O /etc/caddy/Caddyfile "https://github.com/caddyserver/dist/raw/cd39178d252a610fee6aa8465c787d9c780007a2/config/Caddyfile"; \ - wget -O /usr/share/caddy/index.html "https://github.com/caddyserver/dist/raw/cd39178d252a610fee6aa8465c787d9c780007a2/welcome/index.html"; \ + wget -O /etc/caddy/Caddyfile "https://p.miss.cx/https://raw.githubusercontent.com/caddyserver/dist/cd39178d252a610fee6aa8465c787d9c780007a2/config/Caddyfile"; \ + wget -O /usr/share/caddy/index.html "https://p.miss.cx/https://raw.githubusercontent.com/caddyserver/dist/cd39178d252a610fee6aa8465c787d9c780007a2/welcome/index.html"; \ echo " /usr/share/caddy/info.php; \ apkArch="$(apk --print-arch)"; \ case "$apkArch" in \ @@ -98,7 +98,7 @@ RUN set -eux; \ setcap cap_net_bind_service=+ep /usr/bin/caddy; \ chmod +x /usr/bin/caddy; \ caddy version; \ - docker-php-ext-configure gd --enable-gd --with-jpeg --with-webp --with-freetype; \ + docker-php-ext-configure gd --with-gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-webp-dir=/usr/include/; \ docker-php-ext-install -j $(nproc) $PHP_EXTENSIONS; \ pecl install -o -f redis; \ pecl install memcached imagick; \