Skip to content

Commit e5f6687

Browse files
committed
#88 - Add Dockerfile-Jenkins-Maven
1 parent 3ae04f0 commit e5f6687

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile-Jenkins-Maven

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM jenkins/jenkins
2+
# if we want to install via apt
3+
USER root
4+
RUN apt-get update && apt-get install -y maven && (curl -sSL https://get.docker.com/ | sh)
5+
# drop back to the regular jenkins user - good practice
6+
USER jenkins

0 commit comments

Comments
 (0)