chore(docker): fix hadolint SC3014 (#5482)

This commit is contained in:
Dave Lane
2026-08-07 15:23:54 -04:00
committed by GitHub
parent 22cafade1e
commit 3d692a20cc

View File

@ -73,7 +73,7 @@ RUN <<_INSTALL_CUDA
set -e set -e
cuda_prefix="https://developer.download.nvidia.com/compute/cuda/" cuda_prefix="https://developer.download.nvidia.com/compute/cuda/"
cuda_suffix="" cuda_suffix=""
if [[ "${TARGETPLATFORM}" == 'linux/arm64' ]]; then if [ "${TARGETPLATFORM}" = 'linux/arm64' ]; then
cuda_suffix="_sbsa" cuda_suffix="_sbsa"
fi fi
url="${cuda_prefix}${CUDA_VERSION}/local_installers/cuda_${CUDA_VERSION}_${CUDA_BUILD}_linux${cuda_suffix}.run" url="${cuda_prefix}${CUDA_VERSION}/local_installers/cuda_${CUDA_VERSION}_${CUDA_BUILD}_linux${cuda_suffix}.run"