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.
|
||||
#
|
||||
|
||||
FROM java:8
|
||||
FROM openjdk:8
|
||||
MAINTAINER Apache NiFi <dev@nifi.apache.org>
|
||||
|
||||
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
|
||||
|
|
|
@ -16,11 +16,11 @@
|
|||
# under the License.
|
||||
#
|
||||
|
||||
FROM java:8
|
||||
FROM openjdk:8
|
||||
MAINTAINER Apache NiFi <dev@nifi.apache.org>
|
||||
|
||||
ARG UID
|
||||
ARG GID
|
||||
ARG UID=1000
|
||||
ARG GID=50
|
||||
ARG NIFI_VERSION
|
||||
ARG NIFI_BINARY
|
||||
|
||||
|
|
Loading…
Reference in New Issue