Skip to content

Commit 257f26e

Browse files
committed
Updated to Alpine Linux 3.6 and removed testing repo
1 parent 31c77e8 commit 257f26e

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

Dockerfile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
FROM alpine:3.5
1+
FROM alpine:3.6
22
LABEL Maintainer="Tim de Pater <[email protected]>" \
3-
Description="Lightweight container with Nginx 1.10 & PHP-FPM 7.1 based on Alpine Linux."
3+
Description="Lightweight container with Nginx 1.12 & PHP-FPM 7.1 based on Alpine Linux."
44

5-
# Install packages from testing repo's
5+
# Install packages
66
RUN apk --no-cache add php7 php7-fpm php7-mysqli php7-json php7-openssl php7-curl \
77
php7-zlib php7-xml php7-phar php7-intl php7-dom php7-xmlreader php7-ctype \
8-
php7-mbstring php7-gd nginx \
9-
--repository http://dl-cdn.alpinelinux.org/alpine/edge/main/ \
10-
--repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/
11-
12-
# Install packages from stable repo's
13-
RUN apk --no-cache add supervisor curl
8+
php7-mbstring php7-gd nginx supervisor curl
149

1510
# Configure nginx
1611
COPY config/nginx.conf /etc/nginx/nginx.conf

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
Docker PHP-FPM 7.1 & Nginx 1.10 on Alpine Linux
1+
Docker PHP-FPM 7.1 & Nginx 1.12 on Alpine Linux
22
==============================================
3-
Example PHP-FPM 7.1 & Nginx 1.10 setup for Docker, build on [Alpine Linux](http://www.alpinelinux.org/).
3+
Example PHP-FPM 7.1 & Nginx 1.12 setup for Docker, build on [Alpine Linux](http://www.alpinelinux.org/).
44
The image is only +/- 35MB large.
55

66

0 commit comments

Comments
 (0)