Skip to content

Commit

Permalink
Merge pull request #12999 from rhmdnd/use-aarch64
Browse files Browse the repository at this point in the history
Fix ocp4_content to use aarch64 instead of arm64
  • Loading branch information
rhmdnd authored Feb 7, 2025
2 parents 47fd3bc + 55321e5 commit 74cf6d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfiles/ocp4_content
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN microdnf -y install cmake make git /usr/bin/python3 python3-pyyaml python3-j
COPY . .

# Enable only certain profiles on ppc64le and s390x
RUN if [ "$(uname -m)" == "x86_64" ] || [ "$(uname -m)" == "arm64" ]; then \
RUN if [ "$(uname -m)" == "x86_64" ] || [ "$(uname -m)" == "aarch64" ]; then \
echo "Building OpenShift and RHCOS content for x86_64"; \
else echo "Building OpenShift content for $(uname -m)" && \
# Disable all profiles first
Expand Down Expand Up @@ -44,7 +44,7 @@ RUN if [ "$(uname -m)" == "x86_64" ] || [ "$(uname -m)" == "arm64" ]; then \
# Build the OpenShift, EKS, and RHCOS content for x86 architectures. Only build
# OpenShift content for ppc64le and s390x architectures since we're not
# including any RHCOS profiles on those architectures right now anyway.
RUN if [ "$(uname -m)" = "x86_64" ] || [ "$(uname -m)" == "arm64" ]; then \
RUN if [ "$(uname -m)" = "x86_64" ] || [ "$(uname -m)" == "aarch64" ]; then \
./build_product ocp4 rhcos4 eks --datastream-only; \
elif [ "$(uname -m)" = "ppc64le" ]; then \
./build_product ocp4 rhcos4 --datastream-only; \
Expand Down

0 comments on commit 74cf6d5

Please sign in to comment.