Skip to content

Commit 17283ec

Browse files
committed
Update Dockerfile
1 parent 7953df2 commit 17283ec

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Jenkins-PIpeline-Demo/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
FROM openjdk:8-jdk-alpine
22
EXPOSE 8083
3+
RUN curl -fsSLO https://get.docker/builds/Linux/x86_64/docker-17.04.0-ce.tgz \
4+
&& tar xzvf docker-17.04.0-ce.tgz \
5+
&& mv docker/docker /usr/local/bin \
6+
&& rm -r docker docker-17.04.0-ce.tgz
37
RUN addgroup -S shabbir && adduser -S shabbir -G shabbir
48
USER shabbir:shabbir
59
ARG JAR_FILE=target/*.jar

0 commit comments

Comments
 (0)