aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* stage3.Dockerfile: use HEREDOC syntax for RUN commandRahil Bhimjiani2024-03-021-18/+39
| | | | | | | | | | | | | | | | HEREDOC syntax is supported in docker https://docs.docker.com/reference/dockerfile/#here-documents Why: 1) better readability 2) ability to add comments 3) can use HEREDOC in RUN command itself (i.e. configuring ~/.gnupg/dirmngr.conf) 4) by using modern syntax, we can't be labelled as "conservative"[1] [1] https://github.com/systemd/systemd/pull/31424#issuecomment-1956318843 Signed-off-by: Rahil Bhimjiani <me@rahil.rocks> Signed-off-by: John Helmert III <ajak@gentoo.org>
* stage3.Dockerfile: try harder to find releng's gpg keySam James2024-02-181-1/+2
| | | | | | | | | | | | | | | | On a recent build action, we got: ``` 1.106 gpg: directory '/root/.gnupg' created 1.107 gpg: /root/.gnupg/trustdb.gpg: trustdb created 64.28 gpg: keyserver receive failed: Operation timed out ``` Try to use gpg --auto-key-locate=clear,nodefault,wkd --locate-key releng@gentoo.org like we do in the handbook as a fallback. Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/gentoo-docker-images/pull/138 Signed-off-by: John Helmert III <ajak@gentoo.org>
* Dockerfiles: use modern Alpine (3.11->3.19) for buildsSam James2024-02-071-1/+1
| | | | | | | | 3.11 was EOL'd on 2021-11-01. Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/gentoo-docker-images/pull/135 Signed-off-by: John Helmert III <ajak@gentoo.org>
* Handle new clearsigned 'latest' filesSam James2023-10-141-4/+6
| | | | | | | | The latest*.txt files are now clear-signed which confuses our awk line. Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/gentoo-docker-images/pull/132 Signed-off-by: John Helmert III <ajak@gentoo.org>
* Update for new .asc layoutSam James2022-02-181-4/+3
| | | | | | Signed-off-by: Sam James <sam@gentoo.org> Closes: https://github.com/gentoo/gentoo-docker-images/pull/117 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
* Add CI builds for all supported stage3 architecturesKonstantinos Smanis2020-09-031-1/+1
| | | | | | | | | | | | | | | | | | Build multiarch images using buildx [1] instead of modifying the image architecture post-creation with docker-copyedit. Although still experimental, buildx is the recommended way of building multi-platform images. All stage3 architectures that are supported by Docker [2] were added. Closes: #61 [1] https://docs.docker.com/buildx/working-with-buildx/#build-multi-platform-images [2] https://github.com/docker-library/official-images#architectures-other-than-amd64 Signed-off-by: Konstantinos Smanis <konstantinos.smanis@gmail.com> Closes: https://github.com/gentoo/gentoo-docker-images/pull/92 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
* Fix stage3 generationKonstantinos Smanis2020-05-261-2/+2
| | | | | | | | | | catalyst started gzipping the .CONTENTS file [1]; adjust the stage3 Dockerfile accordingly. [1] https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=bb21b8615e64cb31fa9aa9d533ef328dc1374e45 Closes: https://github.com/gentoo/gentoo-docker-images/pull/80 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
* Update portage and stage3 to Alpine 3.11Robert Marko2020-04-091-1/+1
| | | | | | | Alpine 3.7 is quite old now, so lets update to 3.11 branch. Signed-off-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
* Fix portage and stage3 generationRobert Marko2020-04-091-1/+0
| | | | | | | | Removing standard-resolver enables keys to be fetched again, and image building will succeed. Signed-off-by: Robert Marko <robimarko@gmail.com> Closes: https://github.com/gentoo/gentoo-docker-images/pull/78 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
* Fix extended attributesLucian Poston2020-02-231-1/+1
| | | | | Closes: https://github.com/gentoo/gentoo-docker-images/pull/77 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
* ensure build does not fail for systemd due to missing /etc/rc.confAlexys Jacob2019-11-151-1/+1
| | | | | | | Signed-off-by: Alexys Jacob <ultrabug@gentoo.org> Closes: https://github.com/gentoo/gentoo-docker-images/pull/72 Closes: https://github.com/gentoo/gentoo-docker-images/pull/71 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
* Use official Gentoo keyservers (keys.gentoo.org) by @mgornyAlexys Jacob2019-11-151-8/+5
| | | | | | See https://github.com/gentoo/gentoo-docker-images/pull/64 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
* Extract stage3 archive using XZ compression (#56)Vincent VAN HOLLEBEKE2018-01-121-2/+2
| | | | | * Extract stage3 archive using XZ compression * Added extra space and removed compression method
* Removed trailing / in DIST, made STAGEPATH more verbose. Removed -c from wget-s.Brett Randall2017-12-151-3/+4
|
* gpg/dirmngr: disabled IPv6 - there seems to be a DNS or route problem with ↵Brett Randall2017-12-151-0/+1
| | | | | | sks-keyservers. Part of troubleshooting for #53.
* gpg: use (single) keyserver ha.pool.sks-keyservers.net. Troubleshooting #53.Brett Randall2017-12-151-3/+1
|
* Changed from DNS-round-robin-ed distfiles mirror to use OSU OSL mirror ↵Brett Randall2017-12-151-1/+1
| | | | | | directly for now. 4/6 mirrors are not responding and return 404. Part of troubleshooting/fix for #53.
* Initialized GPG dirmngr with standard-resolver and honor-http-proxy options.Brett Randall2017-12-151-0/+3
| | | | | | | | | | Possible that Travis builds are seeing (intermittent?) occurances of this bug or similar: - https://dev.gnupg.org/T2889 gnupg/dirmngr 2.1.17 fails on all keyserver operations Changes made working towards a fix for #53.
* Upgraded default builder from Alpine 3.6 to 3.7.Brett Randall2017-12-151-1/+1
|
* Fix stage3 Dockerfile for x86 buildsManuel Rüger2017-07-181-1/+1
|
* Update builder image to alpine:3.6Manuel Rüger2017-05-261-1/+1
|
* Utilize multi-stage buildsManuel Rüger2017-05-071-0/+39
* Multi-Stage builds (docker-engine >=17.05.0 required) * Bootstrap image changed from busybox to alpine * Verifies the GPG signatures during bootstrap * Single build.sh to define builds via a TARGET environment variable * Add x86-hardened * Travis CI integration