diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Dockerfile | 3 | ||||
-rw-r--r-- | docker-compose.yml | 2 | ||||
-rw-r--r-- | jenkins_home/.gitkeep | 0 |
4 files changed, 3 insertions, 4 deletions
@@ -1,2 +0,0 @@ -jenkins_home/* -!jenkins_home/.gitkeep @@ -3,7 +3,8 @@ FROM jenkins/jenkins:lts USER root RUN apt-get update && apt-get -y install \ - build-essential + build-essential \ + rsync # Install Plugins COPY plugins.txt /usr/share/jenkins/ref/plugins.txt diff --git a/docker-compose.yml b/docker-compose.yml index 6219e27..dd8cc62 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,6 @@ services: - "8080:8080" - "50000:50000" volumes: - - ./jenkins_home:/var/jenkins_home + - /var/jenkins_home:/var/jenkins_home - /var/run/docker.sock:/var/run/docker.sock - /usr/bin/docker:/usr/bin/docker diff --git a/jenkins_home/.gitkeep b/jenkins_home/.gitkeep deleted file mode 100644 index e69de29..0000000 --- a/jenkins_home/.gitkeep +++ /dev/null |