We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aefab47 commit 3180545Copy full SHA for 3180545
Jenkins-PIpeline-Demo/Dockerfile
@@ -0,0 +1,6 @@
1
+FROM openjdk:8-jdk-alpine
2
+RUN addgroup -S shabbir && adduser -S shabbir -G shabbir
3
+USER shabbir:shabbir
4
+ARG JAR_FILE=target/*.jar
5
+COPY ${JAR_FILE} app.jar
6
+ENTRYPOINT ["java","-jar","/app.jar"]
0 commit comments