Updated to Alpine Linux 3.6 and removed testing repo

This commit is contained in:
Tim de Pater 2017-08-21 10:50:35 +02:00
parent 31c77e866f
commit 257f26e6da
2 changed files with 6 additions and 11 deletions

View File

@ -1,16 +1,11 @@
FROM alpine:3.5
FROM alpine:3.6
LABEL Maintainer="Tim de Pater <code@trafex.nl>" \
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

View File

@ -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.