aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantinos Smanis <konstantinos.smanis@gmail.com>2020-08-23 21:54:34 +0300
committerAlexys Jacob <ultrabug@gentoo.org>2020-09-03 22:34:00 +0200
commit2a77ebf7e7c02d43eb9dd385dc808efd87a54af0 (patch)
tree91983e0afdb79bbf9b2896715cc00f8f2edf2c33 /portage.Dockerfile
parentUpdate Travis CI badge (diff)
downloaddocker-images-2a77ebf7e7c02d43eb9dd385dc808efd87a54af0.tar.gz
docker-images-2a77ebf7e7c02d43eb9dd385dc808efd87a54af0.tar.bz2
docker-images-2a77ebf7e7c02d43eb9dd385dc808efd87a54af0.zip
Add CI builds for all supported stage3 architectures
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>
Diffstat (limited to 'portage.Dockerfile')
-rw-r--r--portage.Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/portage.Dockerfile b/portage.Dockerfile
index 7f51c7e..23261d2 100644
--- a/portage.Dockerfile
+++ b/portage.Dockerfile
@@ -3,7 +3,7 @@
# docker-17.05.0 or later. It fetches a daily snapshot from the official
# sources and verifies its checksum as well as its gpg signature.
-FROM alpine:3.11 as builder
+FROM --platform=$BUILDPLATFORM alpine:3.11 as builder
WORKDIR /portage