diff options
author | Stone, Avi (as206k) <as206k@att.com> | 2018-05-23 11:21:11 +0300 |
---|---|---|
committer | Stone, Avi (as206k) <as206k@att.com> | 2018-05-23 11:30:13 +0300 |
commit | 3e4c18770957b55e2f80da32c3a32caa908f1386 (patch) | |
tree | 8a94c656300e75e38febfe9826ad36fc54fe14f5 /dcaedt_validator/Dockerfile | |
parent | da9db1b89e8c9199da4791a2ccd26d1628120a08 (diff) |
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) <as206k@att.com>
Diffstat (limited to 'dcaedt_validator/Dockerfile')
-rw-r--r-- | dcaedt_validator/Dockerfile | 28 |
1 files changed, 28 insertions, 0 deletions
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"] + |