diff --git a/Dockerfile b/Dockerfile index 1435a13..195623a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,11 @@ -FROM alpine:3.5 +FROM alpine:3.6 LABEL Maintainer="Tim de Pater " \ - Description="Lightweight container with Nginx 1.10 & PHP-FPM 7.1 based on Alpine Linux." + Description="Lightweight container with Nginx 1.12 & PHP-FPM 7.1 based on Alpine Linux." -# Install packages from testing repo's +# Install packages RUN apk --no-cache add php7 php7-fpm php7-mysqli php7-json php7-openssl php7-curl \ php7-zlib php7-xml php7-phar php7-intl php7-dom php7-xmlreader php7-ctype \ - php7-mbstring php7-gd nginx \ - --repository http://dl-cdn.alpinelinux.org/alpine/edge/main/ \ - --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ - -# Install packages from stable repo's -RUN apk --no-cache add supervisor curl + php7-mbstring php7-gd nginx supervisor curl # Configure nginx COPY config/nginx.conf /etc/nginx/nginx.conf diff --git a/README.md b/README.md index bec08ff..f6fd49b 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -Docker PHP-FPM 7.1 & Nginx 1.10 on Alpine Linux +Docker PHP-FPM 7.1 & Nginx 1.12 on Alpine Linux ============================================== -Example PHP-FPM 7.1 & Nginx 1.10 setup for Docker, build on [Alpine Linux](http://www.alpinelinux.org/). +Example PHP-FPM 7.1 & Nginx 1.12 setup for Docker, build on [Alpine Linux](http://www.alpinelinux.org/). The image is only +/- 35MB large.