{"id":14235843,"url":"https://github.com/gentoo/gentoo-docker-images","last_synced_at":"2025-04-09T04:04:48.549Z","repository":{"id":17986653,"uuid":"20993470","full_name":"gentoo/gentoo-docker-images","owner":"gentoo","description":"[MIRROR] Common effort to get an official and automated gentoo base docker container","archived":false,"fork":false,"pushed_at":"2024-11-29T03:53:47.000Z","size":246,"stargazers_count":330,"open_issues_count":6,"forks_count":90,"subscribers_count":69,"default_branch":"master","last_synced_at":"2025-04-02T03:07:54.902Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"https://gitweb.gentoo.org/proj/docker-images.git","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gentoo.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":"2014-06-19T08:35:12.000Z","updated_at":"2025-03-31T07:38:53.000Z","dependencies_parsed_at":"2025-02-21T17:11:10.046Z","dependency_job_id":"1b30223e-cd86-418d-addb-3aa587d2a53b","html_url":"https://github.com/gentoo/gentoo-docker-images","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/gentoo%2Fgentoo-docker-images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentoo%2Fgentoo-docker-images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentoo%2Fgentoo-docker-images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gentoo%2Fgentoo-docker-images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gentoo","download_url":"https://codeload.github.com/gentoo/gentoo-docker-images/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247974715,"owners_count":21026742,"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":["hacktoberfest"],"created_at":"2024-08-20T21:02:24.306Z","updated_at":"2025-04-09T04:04:48.514Z","avatar_url":"https://github.com/gentoo.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Gentoo Docker Images\n\n[![build](https://github.com/gentoo/gentoo-docker-images/workflows/build/badge.svg)](https://github.com/gentoo/gentoo-docker-images/actions?workflow=build)\n\nA collection of Dockerfiles for generating Gentoo docker images.\n\nThese images are intended to be created automatically by\na cron job and pushed to [docker hub](https://hub.docker.com/u/gentoo/).\nThis repository include basic stage3 images and an image usable as a `/var/db/repos/gentoo` volume\n\n# DockerHub\n\nhttps://hub.docker.com/u/gentoo/\n\n## Inventory\n\nThe following targets are built and pushed to Docker Hub:\n * `portage`\n * `stage3`\n   * `amd64`\n     * `stage3-amd64-hardened-openrc`\n     * `stage3-amd64-llvm-openrc`\n     * `stage3-amd64-llvm-systemd`\n     * `stage3-amd64-musl`\n     * `stage3-amd64-musl-hardened`\n     * `stage3-amd64-musl-llvm`\n     * `stage3-amd64-nomultilib-openrc`\n     * `stage3-amd64-nomultilib-systemd`\n     * `stage3-amd64-openrc`\n     * `stage3-amd64-desktop-openrc`\n     * `stage3-amd64-systemd`\n     * `stage3-amd64-desktop-systemd`\n   * `arm`\n     * `stage3-armv5tel-openrc`\n     * `stage3-armv5tel-systemd`\n     * `stage3-armv6j-openrc`\n     * `stage3-armv6j-systemd`\n     * `stage3-armv6j_hardfp-openrc`\n     * `stage3-armv6j_hardfp-systemd`\n     * `stage3-armv7a-openrc`\n     * `stage3-armv7a-systemd`\n     * `stage3-armv7a_hardfp_musl-openrc`\n     * `stage3-armv7a_hardfp-openrc`\n     * `stage3-armv7a_hardfp-systemd`\n   * `arm64`\n     * `stage3-arm64-desktop-openrc`\n     * `stage3-arm64-desktop-systemd`\n     * `stage3-arm64-llvm-openrc`\n     * `stage3-arm64-llvm-systemd`\n     * `stage3-arm64-musl`\n     * `stage3-arm64-musl-hardened`\n     * `stage3-arm64-musl-llvm`\n     * `stage3-arm64-openrc`\n     * `stage3-arm64-systemd`\n   * `ppc`\n     * `stage3-ppc64le-musl-hardened-openrc`\n     * `stage3-ppc64le-openrc`\n     * `stage3-ppc64le-systemd`\n   * `riscv`\n     * `stage3-rv64_lp64-openrc`\n     * `stage3-rv64_lp64-systemd`\n     * `stage3-rv64_lp64d-openrc`\n     * `stage3-rv64_lp64d-systemd`\n   * `s390`\n     * `stage3-s390x`\n   * `x86`\n     * `stage3-i686-hardened-openrc`\n     * `stage3-i686-musl`\n     * `stage3-i686-openrc`\n     * `stage3-i686-ssemath-t64-openrc`\n     * `stage3-i686-ssemath-t64-systemd`\n     * `stage3-i686-systemd`\n\nThe following upstream stage3 targets are not built at all:\n * `amd64`\n   * `stage3-amd64` [[deprecated](#deprecated)]\n   * `stage3-amd64-hardened` [[deprecated](#deprecated)]\n   * `stage3-amd64-hardened+nomultilib` [[deprecated](#deprecated)]\n   * `stage3-amd64-hardened-selinux` [[deprecated](#deprecated), [selinux](#selinux)]\n   * `stage3-amd64-hardened-selinux+nomultilib` [[deprecated](#deprecated), [selinux](#selinux)]\n   * `stage3-amd64-hardened-selinux-openrc` [[selinux](#selinux)]\n   * `stage3-amd64-musl-vanilla` [[deprecated](#deprecated)]\n   * `stage3-amd64-nomultilib` [[deprecated](#deprecated)]\n   * `stage3-amd64-nomultilib-selinux-openrc` [[selinux](#selinux)]\n   * `stage3-x32` [[deprecated](#deprecated), [unsupported](#unsupported)]\n   * `stage3-x32-openrc` [[unsupported](#unsupported)]\n * `arm`\n   * `stage3-armv4tl` [[unsupported](#unsupported)]\n   * `stage3-armv4tl-systemd` [[unsupported](#unsupported)]\n * `ppc`\n   * `stage3-power9le-openrc` [[unsupported](#unsupported)]\n   * `stage3-power9le-systemd` [[unsupported](#unsupported)]\n   * `stage3-ppc` [[deprecated](#deprecated), [unsupported](#unsupported)]\n   * `stage3-ppc-openrc` [[unsupported](#unsupported)]\n   * `stage3-ppc64` [[deprecated](#deprecated), [unsupported](#unsupported)]\n   * `stage3-ppc64-musl-hardened` [[deprecated](#deprecated), [unsupported](#unsupported)]\n   * `stage3-ppc64-musl-hardened-openrc` [[unsupported](#unsupported)]\n   * `stage3-ppc64-openrc` [[unsupported](#unsupported)]\n   * `stage3-ppc64-systemd` [[unsupported](#unsupported)]\n   * `stage3-ppc64le` [[deprecated](#deprecated)]\n   * `stage3-ppc64le-musl-hardened` [[deprecated](#deprecated)]\n * `riscv`\n   * `stage3-rv32_*` [[unsupported](#unsupported)]\n   * `stage3-rv64_multilib` [[under testing](#testing)]\n * `s390`\n   * `stage3-s390` [[unsupported](#unsupported)]\n * `x86`\n   * `stage3-i486` [[deprecated](#deprecated), [unsupported](#unsupported)]\n   * `stage3-i486-openrc` [[unsupported](#unsupported)]\n   * `stage3-i686` [[deprecated](#deprecated)]\n   * `stage3-i686-hardened` [[deprecated](#deprecated)]\n   * `stage3-i686-musl-vanilla` [[deprecated](#deprecated)]\n\n\u003ca name=\"deprecated\"\u003e[deprecated]\u003c/a\u003e: Deprecated stage3 target\n\n\u003ca name=\"selinux\"\u003e[selinux]\u003c/a\u003e: [SELinux doesn't seem to make sense inside containers](https://serverfault.com/q/757606/)\n\n\u003ca name=\"testing\"\u003e[under testing]\u003c/a\u003e: Not ready for container. Our arch team is working on testing it\n\n\u003ca name=\"unsupported\"\u003e[unsupported]\u003c/a\u003e: [Unsupported Docker architecture](https://github.com/docker-library/official-images#architectures-other-than-amd64)\n\n# Building the containers\n\nThe containers are created using a multi-stage build, which requires Docker \u003e= 19.03.0.\nThe container being built is defined by the TARGET environment variable:\n\n`` TARGET=stage3-amd64-openrc ./build.sh ``\n\n# Using the portage container as a data volume\n\n```\ndocker create -v /var/db/repos/gentoo --name myportagesnapshot gentoo/portage:latest /bin/true\ndocker run --interactive --tty --volumes-from myportagesnapshot gentoo/stage3:latest /bin/bash\n```\n\n# Using the portage container in a multi-stage build\n\ndocker-17.05.0 or later supports multi-stage builds, allowing the portage volume to be used when creating images based on a stage3 image.\n\nExample _Dockerfile_\n\n```\n# name the portage image\nFROM gentoo/portage:latest as portage\n\n# based on stage3 image\nFROM gentoo/stage3:latest\n\n# copy the entire portage volume in\nCOPY --from=portage /var/db/repos/gentoo /var/db/repos/gentoo\n\n# continue with image build ...\nRUN emerge -qv www-servers/apache # or whichever packages you need\n```\n\n\n# Contributing\n\nWe'd love to hear any ideas.  Feel free to contact us via any of the following\nmethods:\n\n* IRC: irc://irc.libera.chat:6697/#gentoo-containers\n* EMAIL: gentoo-containers@lists.gentoo.org\n* GITHUB: https://github.com/gentoo/gentoo-docker-images\n\n## Policy\n\n* Use topic branches (i.e. foo) and fix branches (i.e. fix/foo) when submitting\n  pull requests\n* Make meaningful commits ideally with the following form:\n  * Subject line–what this commit does\n  * Blank line\n  * Body–why this commit is necessary or desired\n* Pull requests should not include merge commits\n* Use amend and rebase to fix commits after a pull request has been submitted\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgentoo%2Fgentoo-docker-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgentoo%2Fgentoo-docker-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgentoo%2Fgentoo-docker-images/lists"}