[projects/cleanbuild] Add support for building i686 variant

glen glen at pld-linux.org
Fri Jul 19 17:47:53 CEST 2024


commit e81372075c5132f4e3771d5a693741eabb6718e1
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Oct 1 11:46:33 2021 +0300

    Add support for building i686 variant

 docker/Dockerfile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 15c394e..611c6ec 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -7,7 +7,11 @@
 #
 # See https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/syntax.md
 
-FROM registry.gitlab.com/pld-linux/pld AS base
+ARG arch=x86_64
+
+FROM registry.gitlab.com/pld-linux/pld AS base-x86_64
+FROM registry.gitlab.com/pld-linux/pld/i686 AS base-i686
+FROM base-$arch AS base
 
 FROM base AS dist
 WORKDIR /dist
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/projects/cleanbuild.git/commitdiff/e81372075c5132f4e3771d5a693741eabb6718e1



More information about the pld-cvs-commit mailing list