This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 4b46ce3068 NIFI-15138 Fix UndefinedVar warning for the NiFi Dockerhub
build (#10463)
4b46ce3068 is described below
commit 4b46ce30684b2f2237c62ebea49bfb3badfc883e
Author: Chun-Sheng, Li <[email protected]>
AuthorDate: Wed Oct 29 21:32:13 2025 +0800
NIFI-15138 Fix UndefinedVar warning for the NiFi Dockerhub build (#10463)
Signed-off-by: David Handermann <[email protected]>
---
nifi-docker/dockerhub/Dockerfile | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/nifi-docker/dockerhub/Dockerfile b/nifi-docker/dockerhub/Dockerfile
index 5723f36a08..7c32a15d75 100644
--- a/nifi-docker/dockerhub/Dockerfile
+++ b/nifi-docker/dockerhub/Dockerfile
@@ -28,9 +28,17 @@ ARG UID=1000
ARG GID=1000
ARG NIFI_VERSION=2.0.0
ARG BASE_URL=https://archive.apache.org/dist
+
+ARG MIRROR_BASE_URL
ARG MIRROR_BASE_URL=${MIRROR_BASE_URL:-${BASE_URL}}
+
+ARG DISTRO_PATH
ARG DISTRO_PATH=${DISTRO_PATH:-${NIFI_VERSION}}
+
+ARG NIFI_BINARY_PATH
ARG
NIFI_BINARY_PATH=${NIFI_BINARY_PATH:-nifi/${DISTRO_PATH}/nifi-${NIFI_VERSION}-bin.zip}
+
+ARG NIFI_TOOLKIT_BINARY_PATH
ARG
NIFI_TOOLKIT_BINARY_PATH=${NIFI_TOOLKIT_BINARY_PATH:-nifi/${DISTRO_PATH}/nifi-toolkit-${NIFI_VERSION}-bin.zip}
ENV NIFI_BASE_DIR=/opt/nifi