{"id":20093804,"url":"https://github.com/trion-development/docker-jenkins-docker-client","last_synced_at":"2025-03-02T16:16:04.428Z","repository":{"id":26483357,"uuid":"98461549","full_name":"trion-development/docker-jenkins-docker-client","owner":"trion-development","description":"Jenkins Docker Image including the docker cli","archived":false,"fork":false,"pushed_at":"2024-05-05T21:41:02.000Z","size":22,"stargazers_count":12,"open_issues_count":1,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-13T03:30:01.554Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trion-development.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-26T20:06:26.000Z","updated_at":"2024-05-05T21:41:05.000Z","dependencies_parsed_at":"2023-01-14T04:45:29.107Z","dependency_job_id":"bd215544-8a6a-444c-9c70-c31cbb632e0b","html_url":"https://github.com/trion-development/docker-jenkins-docker-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trion-development%2Fdocker-jenkins-docker-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trion-development%2Fdocker-jenkins-docker-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trion-development%2Fdocker-jenkins-docker-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trion-development%2Fdocker-jenkins-docker-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trion-development","download_url":"https://codeload.github.com/trion-development/docker-jenkins-docker-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241533628,"owners_count":19977826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T16:48:27.437Z","updated_at":"2025-03-02T16:16:04.376Z","avatar_url":"https://github.com/trion-development.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jenkins Docker Image including the docker client\nThis docker image includes the docker command to enable Jenkins to interact with a docker daemon.\n\nIt includes a build of docker-compose working on alpine as well.\n\n\nGitHub Repository: https://github.com/trion-development/docker-jenkins-docker-client\n\n## Docker Socket integration\n\nIf a bind-mount of the docker daemon socket is detected, appropriate permissions will be set to allow jenkins to access docker via the socket.\nIn order for this to work the container must be run as `root`.\nTo configure the uid to switch to, the environment variable JENKINS_USER must be used instead `docker -u`\n\nExample usage: Make sure the directory `$HOME/.jenkins` exists, then run\n\n```\ndocker run -it --name=jenkins -e JENKINS_USER=$(id -u) --rm -p 8080:8080 -p 50000:50000 \\\n-v $HOME/.jenkins:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock \\\n--name jenkins trion/jenkins-docker-client\n```\n\n\n## Configuration as code\n\nWhen setting `JENKINS_CAC=true` the container does not start the initial Jenkins Setup Wizard.\nInstead the ```Configuration as Code``` plugin is pre-installed and an initial location and admin credentials can be set using environment variables.\n\nTo provide your initial configuration, you can mount it to `/provisioning/config.yaml`\n\nPlugins to be installed can be added to a textfile and mounted to `/provisioning/plugins.txt`.\nThe following plugins should be provided\n\n```\nauthorize-project:latest\nconfiguration-as-code:latest\nrole-strategy:latest\n```\n\nMore details: https://plugins.jenkins.io/configuration-as-code/\n\nAfterwards, the server can be managed as usual.\n\n\n```\ndocker run -it --name=jenkins -e JENKINS_USER=$(id -u) --rm -p 8080:8080 -p 50000:50000 \\\n--env JENKINS_ADMIN_ID=username --env JENKINS_ADMIN_PASSWORD=password --env JENKINS_LOCATION=http://localhost:8080 \\\n-v $HOME/.jenkins:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock \\\n--name jenkins trion/jenkins-docker-client\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrion-development%2Fdocker-jenkins-docker-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrion-development%2Fdocker-jenkins-docker-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrion-development%2Fdocker-jenkins-docker-client/lists"}