aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--Dockerfile3
-rw-r--r--docker-compose.yml2
-rw-r--r--jenkins_home/.gitkeep0
4 files changed, 3 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 30ac96b..e69de29 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +0,0 @@
-jenkins_home/*
-!jenkins_home/.gitkeep
diff --git a/Dockerfile b/Dockerfile
index 0cebe94..b18e08a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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