mirror of https://github.com/apache/nifi.git
NIFI-3314 Adjusting Dockerfile for Docker Hub to use defaults for ARGs
such that it does not need supporting build script. Making use of openjdk base image as the java image has been deprecated. This closes #1419
This commit is contained in:
parent
63c763885c
commit
67e2459660
|
@ -16,12 +16,12 @@
|
||||||
# under the License.
|
# under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM java:8
|
FROM openjdk:8
|
||||||
MAINTAINER Apache NiFi <dev@nifi.apache.org>
|
MAINTAINER Apache NiFi <dev@nifi.apache.org>
|
||||||
|
|
||||||
ARG UID
|
ARG UID=1000
|
||||||
ARG GID
|
ARG GID=50
|
||||||
ARG NIFI_VERSION
|
ARG NIFI_VERSION=1.2.0
|
||||||
|
|
||||||
ENV NIFI_BASE_DIR /opt/nifi
|
ENV NIFI_BASE_DIR /opt/nifi
|
||||||
ENV NIFI_HOME $NIFI_BASE_DIR/nifi-$NIFI_VERSION
|
ENV NIFI_HOME $NIFI_BASE_DIR/nifi-$NIFI_VERSION
|
||||||
|
|
|
@ -16,11 +16,11 @@
|
||||||
# under the License.
|
# under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM java:8
|
FROM openjdk:8
|
||||||
MAINTAINER Apache NiFi <dev@nifi.apache.org>
|
MAINTAINER Apache NiFi <dev@nifi.apache.org>
|
||||||
|
|
||||||
ARG UID
|
ARG UID=1000
|
||||||
ARG GID
|
ARG GID=50
|
||||||
ARG NIFI_VERSION
|
ARG NIFI_VERSION
|
||||||
ARG NIFI_BINARY
|
ARG NIFI_BINARY
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue