aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorGravatar Andrew D. France 2025-07-22 21:00:10 -0500
committerGravatar Andrew D. France 2025-07-22 21:00:10 -0500
commitbac1f1c73db9c55a18b41b76922572fd2620f3d5 (patch)
tree8b7527fc22e9b16d5604121ddff2219bcdd9162c /docker-compose.yml
parentAdded Jenkins files for local CI testing (diff)
Fixing Jenkins Setup: Attempt2
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 77dfb90..0cccadc 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -5,13 +5,14 @@ services:
context: .
dockerfile: Dockerfile.jenkins
args:
- # Pass the host's docker group ID to the build
+ # Pass all necessary host IDs to the build
+ UID: ${UID}
+ GID: ${GID}
DOCKER_GID: ${DOCKER_GID}
- user: "${UID}:${GID}" # Run the container as the current host user
ports:
- "8080:8080"
- "50000:50000"
container_name: jenkins
volumes:
- ./jenkins_home:/var/jenkins_home
- - /var/run/docker.sock:/var/run/docker.sock
+ - /var/run/docker.sock:/var/run/docker.sock \ No newline at end of file