diff --git a/Dockerfile b/Dockerfile index b77d18d..ddd375f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,30 @@ FROM alpine:3.13 -LABEL Maintainer="Tim de Pater " \ - Description="Lightweight container with Nginx 1.18 & PHP 8.0 based on Alpine Linux." +LABEL Maintainer="Tim de Pater " +LABEL Description="Lightweight container with Nginx 1.18 & PHP 8.0 based on Alpine Linux." # Install packages and remove default server definition -RUN apk --no-cache add php8 php8-fpm php8-opcache php8-mysqli php8-json php8-openssl php8-curl \ - php8-zlib php8-xml php8-phar php8-intl php8-dom php8-xmlreader php8-ctype php8-session \ - php8-mbstring php8-gd nginx supervisor curl && \ - rm /etc/nginx/conf.d/default.conf +RUN apk --no-cache add \ + curl \ + nginx \ + php8 \ + php8-ctype \ + php8-curl \ + php8-dom \ + php8-fpm \ + php8-gd \ + php8-intl \ + php8-json \ + php8-mbstring \ + php8-mysqli \ + php8-opcache \ + php8-openssl \ + php8-phar \ + php8-session \ + php8-xml \ + php8-xmlreader \ + php8-zlib \ + supervisor \ + && rm /etc/nginx/conf.d/default.conf # Create symlink so programs depending on `php` still function RUN ln -s /usr/bin/php8 /usr/bin/php