Update to WP 5.1.1

This commit is contained in:
Deon George 2019-05-03 23:40:23 +10:00
parent ac0bdc3231
commit 3c194bea82
3 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ stages:
- build
variables:
VERSION: 5.0.3-fpm
VERSION: 5.1.1-fpm
CACHETAG: build
DOCKER_HOST: tcp://docker:2375

View File

@ -1,7 +1,7 @@
# NAME leenooks/wordpress
# VERSION 5.0.3-fpm
# VERSION 5.1.1-fpm
FROM wordpress:5.0.3-fpm
FROM wordpress:5.1.1-fpm
RUN apt-get update && apt-get install -y openssh-server ssmtp && rm -rf /var/lib/apt/lists/* /tmp/* \
&& useradd -c "Hosting Admin User" -u 1000 -g users -G www-data -d /var/www/html -M lamp \
@ -12,8 +12,8 @@ RUN (cd / && patch -p0 ) < /tmp/sshd_config.patch && rm /tmp/sshd_config.patch
EXPOSE 9000/tcp 22/tcp
COPY start /usr/local/sbin
ENTRYPOINT [ "/usr/local/sbin/start" ]
COPY init /sbin
ENTRYPOINT [ "/sbin/init" ]
CMD [ "php-fpm" ]
RUN docker-php-ext-install -j$(nproc) opcache

View File