From aecb9d34ccd561628717868908e7470ef64d874a Mon Sep 17 00:00:00 2001
From: "Alexander A. Klimov" <alexander.klimov@icinga.com>
Date: Wed, 30 Mar 2022 14:54:20 +0200
Subject: [PATCH] Fix Go architecture mismatch

---
 bullseye/x86/Dockerfile | 2 +-
 buster/x86/Dockerfile   | 2 +-
 stretch/x86/Dockerfile  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bullseye/x86/Dockerfile b/bullseye/x86/Dockerfile
index e593f25..f2a7728 100644
--- a/bullseye/x86/Dockerfile
+++ b/bullseye/x86/Dockerfile
@@ -23,7 +23,7 @@ RUN groupadd -g 1000 build \
  && chown build.build /usr/local/bin
 
 RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
-RUN icinga-provide-go
+RUN icinga-provide-go 386
 USER build
 ENTRYPOINT ["/usr/local/bin/icinga-build-entrypoint"]
 CMD ["icinga-build-package"]
diff --git a/buster/x86/Dockerfile b/buster/x86/Dockerfile
index 4908637..a4d06b7 100644
--- a/buster/x86/Dockerfile
+++ b/buster/x86/Dockerfile
@@ -23,7 +23,7 @@ RUN groupadd -g 1000 build \
  && chown build.build /usr/local/bin
 
 RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
-RUN icinga-provide-go
+RUN icinga-provide-go 386
 USER build
 ENTRYPOINT ["/usr/local/bin/icinga-build-entrypoint"]
 CMD ["icinga-build-package"]
diff --git a/stretch/x86/Dockerfile b/stretch/x86/Dockerfile
index a2e88c0..6fd6d79 100644
--- a/stretch/x86/Dockerfile
+++ b/stretch/x86/Dockerfile
@@ -22,7 +22,7 @@ RUN groupadd -g 1000 build \
  && chown build.build /usr/local/bin
 
 RUN git clone https://git.icinga.com/build-docker/scripts.git /usr/local/bin
-RUN icinga-provide-go
+RUN icinga-provide-go 386
 USER build
 ENTRYPOINT ["/usr/local/bin/icinga-build-entrypoint"]
 CMD ["icinga-build-package"]
-- 
GitLab