diff --git a/Dockerfile b/Dockerfile index 171c9407fb..dccf6cdc28 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,5 @@ # Pull base image -From tomcat:8-jre8 - -# Maintainer -MAINTAINER "valaxytech@gmail.com" -COPY ./webapp.war /usr/local/tomcat/webapps - +FROM tomcat:8-jre8 as builder +USER 1001 +LABEL app="hello-world" +COPY ./webapp.war /usr/local/tomcat/webapps \ No newline at end of file diff --git a/pom.xml b/pom.xml index a95e2d48f7..be6e783f69 100644 --- a/pom.xml +++ b/pom.xml @@ -1,3 +1,4 @@ +#sample github hello world project for devops 4.0.0