Skip to content

Commit d6c4234

Browse files
committed
Updated WordPress to 4.9.4.
Updated the base image to Alpine 3.7.
1 parent be1eef1 commit d6c4234

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
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.6
1+
FROM alpine:3.7
22
LABEL Maintainer="Tim de Pater <[email protected]>" \
33
Description="Lightweight WordPress container with Nginx 1.12 & PHP-FPM 7.1 based on Alpine Linux."
44

55
# Install packages from testing repo's
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 bash
8+
php7-mbstring php7-gd nginx supervisor curl bash
149

1510
# Configure nginx
1611
COPY config/nginx.conf /etc/nginx/nginx.conf
@@ -28,8 +23,8 @@ WORKDIR /var/www/wp-content
2823
RUN chown -R nobody.nobody /var/www
2924

3025
# WordPress
31-
ENV WORDPRESS_VERSION 4.9.1
32-
ENV WORDPRESS_SHA1 892d2c23b9d458ec3d44de59b753adb41012e903
26+
ENV WORDPRESS_VERSION 4.9.4
27+
ENV WORDPRESS_SHA1 0e630bf940fd586b10e099cd9195b3e825fb194c
3328

3429
RUN mkdir -p /usr/src
3530

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Lightweight WordPress container with Nginx 1.12 & PHP-FPM 7.1 based on Alpine Linux.
44

5-
_WordPress version currently installed:_ **4.9.1**
5+
_WordPress version currently installed:_ **4.9.4**
66

77
* Used in production for my own sites, making it stable, tested and up-to-date
88
* Optimized for 100 concurrent users

0 commit comments

Comments
 (0)