From 9f6ff9fcd61e6beadcd8e0ccabe93d64043e5bc1 Mon Sep 17 00:00:00 2001 From: Maxim Voronko Date: Fri, 26 Jun 2026 18:57:40 +0300 Subject: [PATCH] fix: promote multi-stage build args to ENV so they propagate across stages --- Dockerfile | 3 +++ Dockerfile.redhat | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8e49a4b..ff0099d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,9 @@ ARG WPR_GROUP_ID=2000 ARG WPR_USER_NAME=wsc ENV WPR_APP_SERVER_DIR=${WPR_APP_SERVER_DIR} +ENV WPR_APP_INSTALL_DIR=${WPR_APP_INSTALL_DIR} +ENV WPR_FILES_DIR=${WPR_FILES_DIR} +ENV WPR_USER_NAME=${WPR_USER_NAME} # Application installation parameters # Protocol of the NGINX web server (1 - HTTPS, 2 - HTTP) diff --git a/Dockerfile.redhat b/Dockerfile.redhat index 3a2d41f..9d5604a 100644 --- a/Dockerfile.redhat +++ b/Dockerfile.redhat @@ -35,6 +35,9 @@ ARG WPR_GROUP_ID=2000 ARG WPR_USER_NAME=wsc ENV WPR_APP_SERVER_DIR=${WPR_APP_SERVER_DIR} +ENV WPR_APP_INSTALL_DIR=${WPR_APP_INSTALL_DIR} +ENV WPR_FILES_DIR=${WPR_FILES_DIR} +ENV WPR_USER_NAME=${WPR_USER_NAME} # Application installation parameters # Protocol of the NGINX web server (1 - HTTPS, 2 - HTTP)