mirror of
https://github.com/mashirozx/docker-php-nginx.git
synced 2024-11-22 14:58:15 +08:00
Updated to Alpine Linux 3.6 and removed testing repo
This commit is contained in:
parent
31c77e866f
commit
257f26e6da
13
Dockerfile
13
Dockerfile
@ -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
|
||||
|
@ -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.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user