{"id":13558659,"url":"https://github.com/winggundamth/docker-base","last_synced_at":"2025-04-03T13:31:50.434Z","repository":{"id":93619058,"uuid":"56423967","full_name":"winggundamth/docker-base","owner":"winggundamth","description":"All my Dockerfile for automated build on Docker Hub","archived":false,"fork":false,"pushed_at":"2016-10-21T19:54:58.000Z","size":60,"stargazers_count":6,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-04T09:37:31.295Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/winggundamth.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}},"created_at":"2016-04-17T07:18:32.000Z","updated_at":"2024-08-04T15:28:41.000Z","dependencies_parsed_at":"2023-04-04T05:41:04.599Z","dependency_job_id":null,"html_url":"https://github.com/winggundamth/docker-base","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/winggundamth%2Fdocker-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winggundamth%2Fdocker-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winggundamth%2Fdocker-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winggundamth%2Fdocker-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/winggundamth","download_url":"https://codeload.github.com/winggundamth/docker-base/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247009677,"owners_count":20868589,"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-08-01T12:05:05.171Z","updated_at":"2025-04-03T13:31:50.185Z","avatar_url":"https://github.com/winggundamth.png","language":"Shell","readme":"# My based Dockerfile\nThis is all my based Dockerfile for my works. Each directory means each Docker Image that will automated build on my [Docker Hub account](https://hub.docker.com/u/winggundamth/).\n\nFeel free to send pull request, add comment or open issue.\n\n## Speed up local build\nAll my base Dockerfile come with build argument that can speed up local build\n- ```APT_CACHER_NG``` available on all Dockerfile\n- ```DEVPI_SERVER``` only available on ```ansible-docker```, ```devpi-server``` and ```uwsgi-python2```\n\nWhen build you just specify ```--build-arg``` to your own apt-cacher-ng and devpi-server\n```bash\n# Building uwsgi-python2\ndocker build --build-arg APT_CACHER_NG=https://apt-cacher-ng.example.com \\\n  --build-arg DEVPI_SERVER=https://devpi.example.com/root/pypi/+simple \\\n  -t winggundamth/uwsgi-python2 uwsgi-python2\n```\n\nDon't forget that if you specify the argument that does not exist in Dockerfile. The build will fail.\n\n## Run your own local apt-cacher-ng server on your build station\nYou can run apt-cacher-ng container to cache apt-get downloaded packages by running command\n```bash\n# Remove 172.17.0.1: if you want anyone can access this\ndocker run -d -p 172.17.0.1:3142:3142 --name=apt-cacher-ng \\\n  --hostname=apt-cacher-ng --restart=unless-stopped \\\n  winggundamth/apt-cacher-ng\n```\n\nThen when build you can use ```--build-arg APT_CACHER_NG=http://172.17.0.1:3142```\n\n## Run your own local devpi server on your build station\nAlso you can run devpi-server container to cache downloaded packages from pip install\n```bash\n# Remove 172.17.0.1: if you want anyone can access this\ndocker run -d -p 172.17.0.1:3141:3141 --name=devpi-server \\\n  --hostname=devpi-server --restart=unless-stopped \\\n  winggundamth/devpi-server\n```\n\nThen when build you can use ```--build-arg DEVPI_SERVER=http://172.17.0.1:3141/root/pypi/+simple```\n\n## Update apt-cacher-ng and devpi-server container without losing your caching data\nYou can use script ```update-aptcacher-devpi-container.sh``` script to update apt-cacher-ng and devpi-server container and not worry about losing your caching data by running command\n```bash\n./update-aptcacher-devpi-container.sh\n```\n","funding_links":[],"categories":["Shell","others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinggundamth%2Fdocker-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinggundamth%2Fdocker-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinggundamth%2Fdocker-base/lists"}