Oak: Fix paths in Dockerfile (#8284)

Oak: Fix the paths in Dockerfile
This commit is contained in:
rbehjati 2022-08-18 10:11:30 +01:00 committed by GitHub
parent eb7e772953
commit 89650d9919
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -25,10 +25,7 @@ RUN apt-get --yes update \
&& rm --recursive --force /var/lib/apt/lists/*
# Install rustup.
ARG rustup_dir=/usr/local/cargo
ENV RUSTUP_HOME ${rustup_dir}
ENV CARGO_HOME ${rustup_dir}
ENV PATH "${rustup_dir}/bin:${PATH}"
ARG rustup_dir=/rust
RUN curl --location https://sh.rustup.rs > /tmp/rustup \
&& sh /tmp/rustup -y --default-toolchain=none \
&& chmod a+rwx ${rustup_dir} \