mirror of
https://github.com/N0rthernL1ghts/wordpress.git
synced 2024-11-23 14:13:27 +01:00
Declare specific PHP version
This commit is contained in:
parent
1a55ef8a9a
commit
be1b046e1b
|
@ -1,5 +1,6 @@
|
|||
ARG PHP_VERSION=7.4
|
||||
ARG WP_VERSION=5.8.0
|
||||
FROM wordpress:${WP_VERSION}-php7.4-fpm-alpine AS wordpress-builder
|
||||
FROM wordpress:${WP_VERSION}-php${PHP_VERSION}-fpm-alpine AS wordpress-builder
|
||||
|
||||
USER root
|
||||
|
||||
|
@ -13,7 +14,7 @@ RUN mkdir -p usr/local/bin \
|
|||
|
||||
|
||||
################################################# APP ##################################################################
|
||||
FROM nlss/php-nginx
|
||||
FROM nlss/php-nginx:${PHP_VERSION}
|
||||
ARG WP_VERSION
|
||||
ENV APK_DEPS "zlib-dev libzip-dev libpng-dev icu-dev imagemagick-dev patch"
|
||||
ENV APK_BUILD_DEPS "curl-dev autoconf alpine-sdk"
|
||||
|
|
Loading…
Reference in New Issue
Block a user