diff options
author | Nelson,Thomas(tn1381)(arthurdent3) <tn1381@att.com> | 2018-06-12 23:45:58 -0400 |
---|---|---|
committer | Nelson,Thomas(tn1381)(arthurdent3) <tn1381@att.com> | 2018-06-12 23:47:42 -0400 |
commit | c41a62d5c57ff2e6a494e0f0169b6f439de74ae5 (patch) | |
tree | 8da1082baec3ce79a34a0f18c2fc5fd1daf8f989 /Dockerfile | |
parent | 06daf7376ddd83e29053319edc04ea7c1973a081 (diff) |
Fix Docker, so it builds.
Dockerfile updates to support maven build.
Update pom to support Docker build via Profile.
Issue-ID: MUSIC-77
Change-Id: I187bec354c799b036457c3d535ed6eb34f4e83b1
Signed-off-by: Nelson,Thomas(tn1381)(arthurdent3) <tn1381@att.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,7 +1,8 @@ FROM library/ubuntu:latest +# Was this necessary? Removed for now. +# apt-get upgrade -y && \ RUN apt-get update && \ - apt-get upgrade -y && \ apt-get install -y software-properties-common && \ add-apt-repository ppa:webupd8team/java -y && \ apt-get update && \ @@ -18,8 +19,9 @@ RUN pip install requests #RUN apt-get update && \ # apt-get install -y vim - -COPY target/prom.jar sampleApp/startPromDaemon.sh sampleApp/promoverride.py /app/ +# Chnaged to suppor Maven Docker. +#COPY target/prom.jar sampleApp/startPromDaemon.sh sampleApp/promoverride.py /app/ +COPY maven/ sampleApp/startPromDaemon.sh sampleApp/promoverride.py /app/ WORKDIR /app CMD ./startPromDaemon.sh -i $ID -c /opt/app/prom/ $PASSIVE -z |