From 8b3eb4a60ea9beac2af9469d7c1d8aeb57195a41 Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Thu, 25 Jan 2024 05:44:57 +0100 Subject: [PATCH] use devtools set --- scripts/circleci-container.dockfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/circleci-container.dockfile b/scripts/circleci-container.dockfile index 628d5c4190945..af517edbc7320 100644 --- a/scripts/circleci-container.dockfile +++ b/scripts/circleci-container.dockfile @@ -15,8 +15,11 @@ # FROM quay.io/centos/centos:stream8 ARG cpu_target +ENV CPU_TARGET=$cpu_target + COPY scripts/setup-helper-functions.sh / COPY scripts/setup-centos8.sh / COPY scripts/setup-adapters.sh / -RUN mkdir build && ( cd build && CPU_TARGET="$cpu_target" bash /setup-centos8.sh ) && rm -rf build -RUN mkdir build && ( cd build && CPU_TARGET="$cpu_target" bash /setup-adapters.sh ) && rm -rf build +RUN mkdir build && ( cd build && bash /setup-centos8.sh ) && rm -rf build +RUN mkdir build && ( cd build && source /opt/rh/gcc-toolset-9/enable && \ + bash /setup-adapters.sh ) && rm -rf build