{"id":19853886,"url":"https://github.com/magnetikonline/docker-build-deb","last_synced_at":"2025-05-02T01:30:26.449Z","repository":{"id":17313700,"uuid":"20084463","full_name":"magnetikonline/docker-build-deb","owner":"magnetikonline","description":"A collection Dockerized Debian/Ubuntu deb package builders.","archived":false,"fork":false,"pushed_at":"2022-01-18T05:09:47.000Z","size":55,"stargazers_count":26,"open_issues_count":0,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-06T20:25:31.050Z","etag":null,"topics":["deb","debian","docker","docker-image","nginx","php","ubuntu"],"latest_commit_sha":null,"homepage":"","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/magnetikonline.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}},"created_at":"2014-05-23T02:39:16.000Z","updated_at":"2023-12-10T10:26:36.000Z","dependencies_parsed_at":"2022-09-14T22:41:03.532Z","dependency_job_id":null,"html_url":"https://github.com/magnetikonline/docker-build-deb","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/magnetikonline%2Fdocker-build-deb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Fdocker-build-deb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Fdocker-build-deb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magnetikonline%2Fdocker-build-deb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magnetikonline","download_url":"https://codeload.github.com/magnetikonline/docker-build-deb/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251969234,"owners_count":21673180,"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":["deb","debian","docker","docker-image","nginx","php","ubuntu"],"created_at":"2024-11-12T14:07:58.426Z","updated_at":"2025-05-02T01:30:26.095Z","avatar_url":"https://github.com/magnetikonline.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker deb builders\n\nCollection of [Docker](https://www.docker.com) images to build Debian/Ubuntu deb packages. All tested under Ubuntu 18.04LTS (previously 14.04LTS).\n\n- For each package, given `Dockerfile` will build an OS image and create a target deb package using [`checkinstall`](https://help.ubuntu.com/community/CheckInstall).\n- Each `extractdeb.sh` script will then:\n\t- Execute the image in a new container.\n\t- Extract deb package back to the host file system.\n\t- Destroy the container.\n\nWhen installing package on target system remember that dependent packages will need to be installed manually, they are not brought over by the `checkinstall` process.\n\n**For Ubuntu:** The Docker package from the official Ubuntu repositories is named `docker.io` due to ([somewhat](https://packages.ubuntu.com/trusty/docker.io) [inconveniently](https://packages.ubuntu.com/xenial/docker.io)) an existing package clash. All build scripts assume you have symlinked the `docker.io` binary like so:\n\n```sh\n$ sudo apt install docker.io\n$ sudo ln --force --symbolic /usr/bin/docker.io /usr/local/bin/docker\n```\n\nAlternatively (and probably better), install latest stable [`docker-ce`](https://docs.docker.com/install/linux/docker-ce/ubuntu/) package from Docker's own repository.\n\n## Nginx\n\n- **OS:** Ubuntu 18.04LTS\n- **Version:** 1.14.0\n- **Configure:** [`nginx/resource/configure.sh`](nginx/resource/configure.sh)\n\nCreate and extract package:\n\n```sh\n$ ./build.sh\n# waiting... as Docker builds image\n\n$ ./extractdeb.sh\n# package extract from container\n\n$ ls -l nginx_1.14.0-1_amd64.deb\n-rw-r--r-- 1 root root 258844 May 8 14:08 nginx_1.14.0-1_amd64.deb\n```\n\nInstall on target system:\n\n```sh\n# should be no dependent packages needed - based off packaged configure.sh\n$ sudo dpkg -i /path/to/nginx_1.14.0-1_amd64.deb\n```\n\n## PHP-FPM\n\n- **OS:** Ubuntu 18.04LTS\n- **Version:** 7.2.21 (PHP-FPM and CLI)\n- **Configure:** [`phpfpm/resource/configure.sh`](phpfpm/resource/configure.sh)\n\nCreate and extract package:\n\n```sh\n$ ./build.sh\n# waiting... as Docker builds image\n\n$ ./extractdeb.sh\n# package extract from container\n\n$ ls -l php_7.2.21-1_amd64.deb\n-rw-r--r-- 1 root root 9618732 Aug 23 23:18 php_7.2.21-1_amd64.deb\n```\n\nInstall on target system:\n\n```sh\n# install dependent packages - based off packaged configure.sh\n$ sudo apt install libcurl3 libjpeg62\n$ sudo dpkg -i /path/to/php_7.2.21-1_amd64.deb\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnetikonline%2Fdocker-build-deb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagnetikonline%2Fdocker-build-deb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagnetikonline%2Fdocker-build-deb/lists"}