Skip to content

Commit e4dc229

Browse files
committed
amazon linux 2023 support
1 parent 17ba6fa commit e4dc229

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

amzn2023/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ FROM amazonlinux:2
66
ARG TARGETARCH
77
ARG CUDA_VERSION
88

9+
RUN if [ "$TARGETARCH" = "arm64" ]; then \
10+
echo "Skipping build for arm64 architecture"; exit 0; \
11+
fi
12+
913
SHELL ["/bin/bash", "-c"]
1014

1115
# Remove cuda repository to avoid GPG errors

0 commit comments

Comments
 (0)