From 3e4c18770957b55e2f80da32c3a32caa908f1386 Mon Sep 17 00:00:00 2001 From: "Stone, Avi (as206k)" Date: Wed, 23 May 2018 11:21:11 +0300 Subject: Upgrade dt-be-main Update sources for dcae-dt-be-main to latest version Change-Id: I3d58a2dc32611c0ca90f1c97e1294a17d5748623 Issue-ID: SDC-1359 Signed-off-by: Stone, Avi (as206k) --- dcaedt_validator/Dockerfile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 dcaedt_validator/Dockerfile (limited to 'dcaedt_validator/Dockerfile') diff --git a/dcaedt_validator/Dockerfile b/dcaedt_validator/Dockerfile new file mode 100644 index 0000000..bcb4074 --- /dev/null +++ b/dcaedt_validator/Dockerfile @@ -0,0 +1,28 @@ +# +# Oracle Java 8 Dockerfile +# +# +# Image built by Thomas Nelson See Docker Github +# Pull base image. +FROM jdk-8u101_ubuntu:16.04 + +# Define commonly used ENV variables +#ENV JAVA_HOME /usr/lib/jvm/java-8-oracle +#ENV PATH $PATH:$JAVA_HOME/bin:/opt/apache-tomcat-8.0.37/bin +ENV INSDIR /opt/app/validator +ENV LOGS ${INSDIR}/logs + +RUN mkdir -p $INSDIR + +RUN mkdir ${INSDIR}/ssl && \ + mkdir $LOGS +COPY service/target/ASC-Validator-*.jar ${INSDIR}/ASC-Validator.jar +COPY service/target/classes/application.properties ${INSDIR}/ +COPY configure-and-run.sh /usr/local/bin/ +# Define working directory. +WORKDIR $INSDIR +VOLUME $LOGS + +# Define default command. +CMD ["/usr/local/bin/configure-and-run.sh"] + -- cgit 1.2.3-korg