Skip to content

Commit 63ec5c6

Browse files
authored
Update Dockerfile
1 parent f97125f commit 63ec5c6

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

Dockerfile

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,23 @@
1+
#Pull a ubuntu image of version 18.10
2+
FROM ubuntu:18.10
13

4+
#Maintainer of this docker build
5+
MAINTAINER vickeyreddy
6+
7+
#User to build this image
8+
#USER docker
9+
10+
#Set the WORKDIR
11+
WORKDIR /jenkins
12+
13+
#Add all the source code to this directory
14+
ADD . /jenkins
15+
16+
#Give permission to execute install_jenkins.sh file
17+
RUN chmod +x ./install_jenkins.sh
18+
19+
EXPOSE 8080
20+
21+
ENTRYPOINT ["./install_jenkins.sh"]
22+
23+
CMD ["/bin/sh"]

0 commit comments

Comments
 (0)