refactored hello-java app to use thorntail

This commit is contained in:
Ravi Srinivasan
2019-06-04 12:44:55 +05:30
parent de664729bc
commit be6db34b37
7 changed files with 45 additions and 104 deletions

View File

@@ -13,7 +13,7 @@ RUN yum install -y --disableplugin=subscription-manager java-1.8.0-openjdk-hea
mkdir -p /opt/app-root/bin
# Copy the runnable fat JAR to the container.
ADD https://github.com/RedHatTraining/DO288-apps/releases/download/1.0/hello-swarm.jar /opt/app-root/bin/
ADD https://github.com/RedHatTraining/DO288-apps/releases/download/OCP-4.1-1/hello-java.jar /opt/app-root/bin/
COPY run-app.sh /opt/app-root/bin/