diff --git a/php83/Dockerfile b/php83/Dockerfile index bff5f3a..3839b2e 100644 --- a/php83/Dockerfile +++ b/php83/Dockerfile @@ -1,4 +1,6 @@ -FROM php:8.3-fpm-alpine +ARG PHP_VERSION=8.3 + +FROM php:${PHP_VERSION}-fpm-alpine ## Make php ini RUN mv "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini" diff --git a/worker/Dockerfile b/worker/Dockerfile index 41bc3fe..3a24258 100644 --- a/worker/Dockerfile +++ b/worker/Dockerfile @@ -1,4 +1,6 @@ -FROM php:8.3-cli-alpine +ARG PHP_VERSION=8.3 + +FROM php:${PHP_VERSION}-cli-alpine RUN mv "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini"