{"id":20105826,"url":"https://github.com/thbkrkr/jks","last_synced_at":"2025-07-03T15:06:18.512Z","repository":{"id":78589153,"uuid":"57987338","full_name":"thbkrkr/jks","owner":"thbkrkr","description":"Jenkins Docker image","archived":false,"fork":false,"pushed_at":"2018-01-19T21:45:52.000Z","size":26,"stargazers_count":44,"open_issues_count":1,"forks_count":19,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-06T09:46:08.729Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","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/thbkrkr.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":"2016-05-03T17:19:08.000Z","updated_at":"2025-03-04T17:39:00.000Z","dependencies_parsed_at":"2023-05-02T02:15:37.106Z","dependency_job_id":null,"html_url":"https://github.com/thbkrkr/jks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thbkrkr/jks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thbkrkr%2Fjks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thbkrkr%2Fjks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thbkrkr%2Fjks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thbkrkr%2Fjks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thbkrkr","download_url":"https://codeload.github.com/thbkrkr/jks/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thbkrkr%2Fjks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263348219,"owners_count":23452871,"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-13T17:48:14.890Z","updated_at":"2025-07-03T15:06:18.451Z","avatar_url":"https://github.com/thbkrkr.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jenkins Docker image\n\nJenkins Docker image with [Docker](https://docs.docker.com)  based on\n[jenkinsci/blueocean](https://hub.docker.com/r/_/jenkinsci/) and some groovy scripts in order to:\n  - create an admin user\n  - configure the number of executors\n  - enable the slave master access control\n  - setup an ssh key to clone private git repositories\n  - create a seed job that uses the job dsl plugin to create all jobs\n  - disable the jenkins cli over remoting\n  - disable scripts security for the job dsl scripts\n\n## Getting started\n\n```shell\n\u003e cat jks.env\n# Admin credentials\nADMIN_USERNAME=admin\nADMIN_PASSWORD=changeme\n\n# Git repo url for the seed jobs (which uses the groovy job dsl plugin)\nSEED_JOBS_URL=https://github.com/thbkrkr/ci\n\n# '\u003cname\u003e:\u003ckey.pub.b64\u003e' name and content in base 64 of the public ssh key to clone private repos\nSEED_CREDS=ci-bitbucket.id_rsa:Ae7tL11CaUdJ...S0PLX\n\n# Docker registry in base64 (base64 -w0 ~/.docker/config.json)\nREGISTRY_AUTH=dezJI...Sn0c\n```\n\n```yaml\n\u003e cat docker-compose.yml\nversion: '2'\nservices:\n  jks:\n    image: krkr/jks\n    env_file:\n      - ./jks.env\n    ports:\n      - 8080:8080\n    volumes:\n      - /var/run/docker.sock:/var/run/docker.sock\n      - ./data/var_jenkins_home:/var/jenkins_home\n```\n\n```\ndocker-compose up -d\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthbkrkr%2Fjks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthbkrkr%2Fjks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthbkrkr%2Fjks/lists"}