Skip to content

Commit 5bbfb95

Browse files
committed
RHAIENG-2042: chore(base-images): add TARGETARCH as an argument to ubi9-python-3.12 Dockerfile
The c9s PR did not trigger building the ubi9 version, so I missed on the fact that changes are needed there. It seems reasonable to remove the ubi9 base image as it is unused and only leave c9s. But I don't want to do it right now, first I will make it work and then make it go away.
1 parent 3d73bd7 commit 5bbfb95

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

base-images/cpu/ubi9-python-3.12/Dockerfile.cpu

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ FROM registry.access.redhat.com/ubi9/python-312:latest AS base
1010

1111
USER 0
1212

13+
ARG TARGETARCH
1314
RUN \
1415
--mount=from=buildscripts,source=/mnt,target=/mnt \
1516
--mount=type=cache,sharing=locked,id=dnf-ubi9,target=/var/cache/dnf \
1617
/bin/bash <<'EOF'
18+
export TARGETARCH=$TARGETARCH
1719
/mnt/aipcc.sh
1820
EOF
1921

0 commit comments

Comments
 (0)