From ef0aa51553d816cf41498027bb8a886e75e6fe68 Mon Sep 17 00:00:00 2001 From: silver Date: Fri, 8 Nov 2024 18:37:13 +0100 Subject: [PATCH] Dockerfile: fix corrupted file --- Dockerfile | 43 ------------------------------------------- 1 file changed, 43 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2060547..9c8c842 100644 --- a/Dockerfile +++ b/Dockerfile @@ -79,48 +79,5 @@ RUN test -n "$http_proxy" && { \ echo 'shit:$apr1$8kedvKJ7$PuY2hy.QQh6iLP3Ckwm740' > /etc/nginx/.htpasswd && \ chown 65534:root /etc/nginx/.htpasswd && \ addgroup nobody ping && \ - rm -rf /tmp/* /var/tmp/* - http_proxy=${http_proxy}; \ - https_proxy=${http_proxy}; \ - }; \ - test -n "$apk_http" && sed -i 's/https/http/g' /etc/apk/repositories; \ - apk add --no-cache \ - nginx \ - php \ - php-fpm \ - php-session \ - php-ftp \ - php-curl \ - php-json \ - php-ctype \ - apache2-utils \ - openssl \ - bash \ - grep \ - sed \ - gawk \ - sudo && \ - rm -rf /var/cache/apk/* && \ - install -d -m 0755 -o nginx -g nginx /run/nginx && \ - install -d -m 0755 -o nginx -g nginx /run/php && \ - rm /etc/nginx/http.d/default.conf && \ - ln -sf /dev/stdout /var/log/nginx/access.log && \ - ln -sf /dev/stderr /var/log/nginx/error.log && \ - sed -i 's|listen = 127.0.0.1:9000|listen = /run/php/php-fpm.sock|' /etc/php*/php-fpm.d/www.conf && \ - sed -i 's/;listen.\(owner\|group\) = nobody/listen.\1 = nginx/' /etc/php*/php-fpm.d/www.conf && \ - # generate self-signed cert - if [ "${WEBUI_CERT:-1}" -eq 1 ]; then \ - if [ ! -e /etc/nginx/webui.crt ] && [ ! -e /etc/nginx/webui.key ]; then \ - openssl req -x509 -nodes -newkey rsa:2048 -days 3650 \ - -config /etc/nginx/webui.cnf \ - -keyout /etc/nginx/webui.key \ - -out /etc/nginx/webui.crt && \ - chmod 600 /etc/nginx/webui.key; \ - fi; \ - fi && \ - chown 0:0 /auth && \ - echo 'shit:$apr1$8kedvKJ7$PuY2hy.QQh6iLP3Ckwm740' > /etc/nginx/.htpasswd && \ - chown 65534:root /etc/nginx/.htpasswd && \ - addgroup nobody ping && \ rm -rf /tmp/* /var/tmp/* ENTRYPOINT [ "/entrypoint.sh" ]