Update to WP 5.1.1
This commit is contained in:
parent
ac0bdc3231
commit
3c194bea82
@ -5,7 +5,7 @@ stages:
|
|||||||
- build
|
- build
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
VERSION: 5.0.3-fpm
|
VERSION: 5.1.1-fpm
|
||||||
CACHETAG: build
|
CACHETAG: build
|
||||||
DOCKER_HOST: tcp://docker:2375
|
DOCKER_HOST: tcp://docker:2375
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# NAME leenooks/wordpress
|
# 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/* \
|
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 \
|
&& 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
|
EXPOSE 9000/tcp 22/tcp
|
||||||
|
|
||||||
COPY start /usr/local/sbin
|
COPY init /sbin
|
||||||
ENTRYPOINT [ "/usr/local/sbin/start" ]
|
ENTRYPOINT [ "/sbin/init" ]
|
||||||
CMD [ "php-fpm" ]
|
CMD [ "php-fpm" ]
|
||||||
|
|
||||||
RUN docker-php-ext-install -j$(nproc) opcache
|
RUN docker-php-ext-install -j$(nproc) opcache
|
||||||
|
Loading…
Reference in New Issue
Block a user