Redeclare WP_VERSION, otherwise it is not available anymore after build stage 'FROM'

This commit is contained in:
xZero707 2020-06-16 19:13:39 +02:00
parent 77ab3d8ee6
commit 77fc538f3c

View File

@ -14,7 +14,7 @@ RUN mkdir -p usr/local/bin \
################################################# APP ################################################################## ################################################# APP ##################################################################
FROM nlss/php-nginx FROM nlss/php-nginx
ARG WP_VERSION
ENV APK_DEPS "zlib-dev libzip-dev libpng-dev icu-dev imagemagick-dev" ENV APK_DEPS "zlib-dev libzip-dev libpng-dev icu-dev imagemagick-dev"
ENV APK_BUILD_DEPS "curl-dev autoconf alpine-sdk" ENV APK_BUILD_DEPS "curl-dev autoconf alpine-sdk"
ENV APK_WP_CLI_DEPS "bash less mysql-client" ENV APK_WP_CLI_DEPS "bash less mysql-client"