Update to wordpress 5.0.3, added opcache

This commit is contained in:
Deon George 2019-02-20 22:26:09 +11:00
parent 4555c2731e
commit 7fd747f661

6
Dockerfile Normal file → Executable file
View File

@ -1,7 +1,7 @@
# NAME leenooks/wordpress
# VERSION 4.9.2-fpm
# VERSION 5.0.3-fpm
FROM wordpress:4.9.2-fpm
FROM wordpress:5.0.3-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 \
@ -15,3 +15,5 @@ EXPOSE 9000/tcp 22/tcp
COPY start /usr/local/sbin
ENTRYPOINT [ "/usr/local/sbin/start" ]
CMD [ "php-fpm" ]
RUN docker-php-ext-install -j$(nproc) opcache