{"id":16863834,"url":"https://github.com/adehad/cross-platform-jenkins-py-dev","last_synced_at":"2026-05-04T10:33:28.871Z","repository":{"id":127292746,"uuid":"521928055","full_name":"adehad/cross-platform-jenkins-py-dev","owner":"adehad","description":"Unix/Windows Dockerfile and Jenkinsfile example (python) configurations ","archived":false,"fork":false,"pushed_at":"2022-08-06T11:44:57.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-06T22:07:24.440Z","etag":null,"topics":["dockerfile","dockerfile-examples","jenkins","jenkinsfile","python"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adehad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-08-06T11:28:44.000Z","updated_at":"2022-08-06T11:51:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"34ef6208-7859-4229-b353-bbc1bdb55bf2","html_url":"https://github.com/adehad/cross-platform-jenkins-py-dev","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adehad/cross-platform-jenkins-py-dev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adehad%2Fcross-platform-jenkins-py-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adehad%2Fcross-platform-jenkins-py-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adehad%2Fcross-platform-jenkins-py-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adehad%2Fcross-platform-jenkins-py-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adehad","download_url":"https://codeload.github.com/adehad/cross-platform-jenkins-py-dev/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adehad%2Fcross-platform-jenkins-py-dev/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263685671,"owners_count":23495905,"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":["dockerfile","dockerfile-examples","jenkins","jenkinsfile","python"],"created_at":"2024-10-13T14:39:53.807Z","updated_at":"2026-05-04T10:33:28.841Z","avatar_url":"https://github.com/adehad.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cross Platform Python Development Docker \u0026 Jenkins\n\n## Context\n\nFor reasons outside my control I needed to use [Jenkins][jenkins].\n\nWas surprised that Jenkins required specifying the shell for all terminal commands.\nNot really looking to do two `Jenkinsfile`s prefixing with `bat` vs `sh`,\nI created a relatively platform invariant file and the corresponding `Dockerfile`s.\n\nThe agents were both pretty barebones, so you may find that you can offload\nsteps to the agent and avoid the `Dockerfile` all together. In my case this was\na useful exercise to understand more about `docker` and Jenkins.\n\n## Gotchas\n\n1. `Dockerfile.windows` runs on Windows Server Core, which needs a specific license on the machine run.\n\n  \u003e The Windows container feature is only available on Windows Server 2016 (Core and with Desktop Experience), Windows 10 Professional and Enterprise (Anniversary Edition) and later.\n  \u003e \u003e See details on: [Docker - Windows Server Core][ms-windowsservercore]\n2. I had enormous troubles with the `PATH` variable on the unix agent and had to\n   add a workaround. I'm sure there is a better way, and perhaps you won't have\n   this problem.\n\n[jenkins]: https://www.jenkins.io \"Jenkins Website\"\n[ms-windowsservercore]: https://hub.docker.com/_/microsoft-windows-servercore\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadehad%2Fcross-platform-jenkins-py-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadehad%2Fcross-platform-jenkins-py-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadehad%2Fcross-platform-jenkins-py-dev/lists"}