From 89650d9919a1daa3fac48f29eafcb5b67cc424b4 Mon Sep 17 00:00:00 2001 From: rbehjati Date: Thu, 18 Aug 2022 10:11:30 +0100 Subject: [PATCH] Oak: Fix paths in Dockerfile (#8284) Oak: Fix the paths in Dockerfile --- projects/oak/Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/projects/oak/Dockerfile b/projects/oak/Dockerfile index 2631e01af..45db0b905 100644 --- a/projects/oak/Dockerfile +++ b/projects/oak/Dockerfile @@ -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} \