fix: RUST_TOOLCHAIN need to be inside of from block (#840)

release-fix-intellij-update-support-version-range
Meng Zhang 2023-11-19 14:08:57 -08:00 committed by GitHub
parent b56ad6eda9
commit 0c2be0361a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -5,11 +5,12 @@ ARG CUDA_VERSION=11.7.1
ARG BASE_CUDA_DEV_CONTAINER=nvidia/cuda:${CUDA_VERSION}-devel-ubuntu${UBUNTU_VERSION}
# Target the CUDA runtime image
ARG BASE_CUDA_RUN_CONTAINER=nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_VERSION}
# Rust toolchain version
ARG RUST_TOOLCHAIN stable
FROM ${BASE_CUDA_DEV_CONTAINER} as build
# Rust toolchain version
ARG RUST_TOOLCHAIN stable
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -y --no-install-recommends \