{"id":16784814,"url":"https://github.com/odavid/jenkins-jnlp-slave","last_synced_at":"2025-03-22T00:32:20.461Z","repository":{"id":26992568,"uuid":"111536254","full_name":"odavid/jenkins-jnlp-slave","owner":"odavid","description":"A JNLP Slave that enables docker build and fixes volume permissions on startup","archived":false,"fork":false,"pushed_at":"2023-06-28T16:15:11.000Z","size":52,"stargazers_count":31,"open_issues_count":2,"forks_count":37,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-14T08:07:17.696Z","etag":null,"topics":["docker","jenkins","jnlp"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/odavid.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-21T10:49:39.000Z","updated_at":"2024-10-03T11:02:29.000Z","dependencies_parsed_at":"2022-07-17T03:00:35.561Z","dependency_job_id":null,"html_url":"https://github.com/odavid/jenkins-jnlp-slave","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odavid%2Fjenkins-jnlp-slave","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odavid%2Fjenkins-jnlp-slave/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odavid%2Fjenkins-jnlp-slave/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odavid%2Fjenkins-jnlp-slave/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odavid","download_url":"https://codeload.github.com/odavid/jenkins-jnlp-slave/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221820883,"owners_count":16886225,"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":["docker","jenkins","jnlp"],"created_at":"2024-10-13T08:07:17.765Z","updated_at":"2024-10-28T11:25:50.769Z","avatar_url":"https://github.com/odavid.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jenkins JNLP Agent Docker image\n![Build Status](https://github.com/odavid/my-bloody-jenkins/workflows/main/badge.svg)\n[![Docker Pulls](https://img.shields.io/docker/pulls/odavid/jenkins-jnlp-slave.svg)](https://hub.docker.com/r/odavid/jenkins-jnlp-slave/)\n[![Changelog](https://img.shields.io/github/v/tag/odavid/jenkins-jnlp-slave?label=changelog)](https://github.com/odavid/jenkins-jnlp-slave/blob/master/CHANGELOG.md)\n\nThis image is based on https://github.com/jenkinsci/docker-inbound-agent image and fixes permissions issues with volumes created by docker.\nThe image also contains docker binary and able to mount /var/run/docker.sock to enable the slave to run docker commands on the slave.\nThe default tag of the image is based on alpine and installs also glibc to enable Oracle JDK installations. (see https://github.com/gliderlabs/docker-alpine/issues/11)\n\nThe immage support running docker commands in slave in 2 different modes:\n\n* By mounting the host's /var/run/docker.sock inside the slave.\n  * docker commands are running on the host's docker daemon.\n  * Containers and images built by the slave are not cleaned up.\n  * Cannot mount volumes from the slave's workspace - i.e hard to use docker-compose\n* By using *Docker Inside Docker* - requires `privileged` container and passing `DIND=true` variable.\n  * docker commands are running within the slave's docker daemon.\n  * Containers and images built by the slave are cleaned up directly after slave finishes the build.\n  * Ability to mount volumes from the slave's workspace - native usage of docker-compose\n\n## Environment Variables\n\n|Name|Description|\n-----|------------\n`DIND` | If `true`, then the slave will run *docker inside docker* - Requires `privileged` container\n\nFor other environment variables, see https://github.com/jenkinsci/docker-inbound-agent\n\n## Releases\nDocker Images are pushed to [Docker Hub](https://hub.docker.com/r/odavid/jenkins-jnlp-slave/)\n\nEach release is a git tag v$UPSTREAM_VERSION-$INCREMENT where:\n\n* UPSRTEAM_VERSION is the [docker-inbound-agent](https://github.com/jenkinsci/docker-inbound-agent) version\n* INCREMENT is a number representing that representing the release contents (i.e docker version, bugs, etc...)\n\nFor each git tag, there following tags will be created:\n* $UPSRTEAM_VERSION-$INCREMENT - one to one releationship with git tag\n* $UPSRTEAM_VERSION - latest release for that UPSRTEAM_VERSION version\n\nThe following distributions are supported:\n* alpine (also the default)\n* debian\n* jdk11\n* jdk17","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodavid%2Fjenkins-jnlp-slave","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodavid%2Fjenkins-jnlp-slave","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodavid%2Fjenkins-jnlp-slave/lists"}