From 15abbc5bcaa0d1185ecfb3f1a4824d8b2f462a52 Mon Sep 17 00:00:00 2001 From: Volodymyr Kolesnykov Date: Thu, 13 Oct 2022 22:02:18 +0300 Subject: [PATCH] Use PHP 8.0 by default --- .docker/wordpress/Dockerfile | 2 +- docker-compose.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.docker/wordpress/Dockerfile b/.docker/wordpress/Dockerfile index 2f321ba9..26e84f9d 100644 --- a/.docker/wordpress/Dockerfile +++ b/.docker/wordpress/Dockerfile @@ -1,4 +1,4 @@ -ARG VERSION=php7.4@sha256:6003ce1cc14ed9d83c3df5593b3359cc8e4236fb80238e9530a0beeb6c60f688 +ARG VERSION=php8.0@sha256:1e7fee0c6fec2eebe4d54c7719fb055a6b9834f7430e26f3e83c1a141cdcb8c4 FROM wordpress:${VERSION} RUN \ a2enmod ssl && \ diff --git a/docker-compose.yml b/docker-compose.yml index 67393a61..80e5e215 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,7 +15,7 @@ services: context: .docker/wordpress dockerfile: Dockerfile args: - VERSION: ${WP_VERSION:-php7.4} + VERSION: ${WP_VERSION:-php8.0} depends_on: - mariadb ports: @@ -26,12 +26,12 @@ services: WORDPRESS_DB_NAME: wordpress WORDPRESS_DB_HOST: mariadb volumes: &ref_0 - - 'wordpress:/var/www/html' + - wordpress:/var/www/html - .:/var/www/html/wp-content/plugins/two-factor-provider-webauthn networks: - tfpwa cli: - image: 'wordpress:cli-php7.4@sha256:c253f3b5043a6414e2d93a2ee5ddb1021d82e67c84c7d050d11c08accd627859' + image: wordpress:cli-php7.4@sha256:06513d92834e401c96d213b71914f645914e8ce7fde5a5b4f97375ee0d3313c3 volumes: *ref_0 user: '33:33' environment: