diff --git a/nifi-docker/dockerhub/Dockerfile b/nifi-docker/dockerhub/Dockerfile index ae273cce3d..cd7aaeb22a 100644 --- a/nifi-docker/dockerhub/Dockerfile +++ b/nifi-docker/dockerhub/Dockerfile @@ -16,12 +16,12 @@ # under the License. # -FROM java:8 +FROM openjdk:8 MAINTAINER Apache NiFi -ARG UID -ARG GID -ARG NIFI_VERSION +ARG UID=1000 +ARG GID=50 +ARG NIFI_VERSION=1.2.0 ENV NIFI_BASE_DIR /opt/nifi ENV NIFI_HOME $NIFI_BASE_DIR/nifi-$NIFI_VERSION diff --git a/nifi-docker/dockermaven/Dockerfile b/nifi-docker/dockermaven/Dockerfile index 32bb638b40..bb56b96561 100644 --- a/nifi-docker/dockermaven/Dockerfile +++ b/nifi-docker/dockermaven/Dockerfile @@ -16,11 +16,11 @@ # under the License. # -FROM java:8 +FROM openjdk:8 MAINTAINER Apache NiFi -ARG UID -ARG GID +ARG UID=1000 +ARG GID=50 ARG NIFI_VERSION ARG NIFI_BINARY