website (latest)
Published 2022-08-03 13:34:20 +02:00 by jonasled2
Installation
docker pull git.tilera.org/jonasled2/website:latest
sha256:00b5084b69c1f94ad0ee595119269d95b2674e511cba1270e303621cd1c8dc8e
Image Layers
ADD file:cf4b631a115c2bbfbd81cad2d3041bceb64a8136aac92ba8a63b6c51d60af764 in / |
CMD ["/bin/sh"] |
ARG PHP_VERSION=8 TESTING_REPO=0 ALPINE_VERSION=latest PHP_SESSION=1 |
ENV PHP_MEMORY_LIMIT=512M PHP_MAX_UPLOAD=50M PHP_MAX_FILE_UPLOAD=200 PHP_MAX_POST=100M PHP_DISPLAY_ERRORS=Off PHP_DISPLAY_STARTUP_ERRORS=Off PHP_ERROR_REPORTING=E_COMPILE_ERROR\|E_RECOVERABLE_ERROR\|E_ERROR\|E_CORE_ERROR PHP_CGI_FIX_PATHINFO=0 PHP_VERSION=8 PHP_LOG_LEVEL=notice PHP_EXPOSE_INFO=Off PHP_FILE_UPLOADS=On |
RUN |4 PHP_VERSION=8 TESTING_REPO=0 ALPINE_VERSION=latest PHP_SESSION=1 /bin/sh -c if [ "$TESTING_REPO" = "1" ] ; then apk add sed && echo "https://dl-cdn.alpinelinux.org/alpine/$ALPINE_VERSION/testing" >> /etc/apk/repositories && apk del sed ; fi && apk update && apk add nginx curl php${PHP_VERSION}-fpm --no-cache && if [ "$PHP_SESSION" = "1" ] ; then apk add php${PHP_VERSION}-session --no-cache ; fi && rm -rf /var/cache/* && mkdir /var/cache/apk && rm /var/www/localhost/htdocs/ -R # buildkit |
WORKDIR /var/www/html/ |
COPY vhost/* /etc/nginx/http.d/ # buildkit |
COPY nginx.conf /etc/nginx/nginx.conf # buildkit |
RUN |4 PHP_VERSION=8 TESTING_REPO=0 ALPINE_VERSION=latest PHP_SESSION=1 /bin/sh -c mkdir /var/www/status && echo "<?php echo(\"OK\");" > /var/www/status/index.php && chown nginx:nginx /var/www/status -R # buildkit |
HEALTHCHECK &{["CMD-SHELL" "curl --fail http://localhost:8080 || exit 1"] "0s" "0s" "0s" '\x00'} |
EXPOSE map[80/tcp:{}] |
COPY start.sh /usr/local/bin/start.sh # buildkit |
CMD ["ash" "/usr/local/bin/start.sh"] |
ENV PHP_FILE_UPLOADS=Off PHP_MAX_POST=1M |
/bin/sh -c apk update && apk add php8-mysqli php8-mbstring php8-curl php8-simplexml --no-cache && rm /etc/nginx/http.d/default.conf |
COPY dir:14b891296188ebbb742b4bb3b2118417f577bc0a73c86b63e88ba6b241bfdc37 in . |
COPY file:758c4acba151a96c1e31281920760ef85af0461a0bb9fadbdab073ab614d129b in /etc/nginx/http.d/default.conf |