From 0e0079cfd880c7e44ac6a197e5110ef1f483f5ec Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sun, 31 Mar 2024 13:41:46 -0700 Subject: [PATCH] Try to fix permissions --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ca61db0..adddd02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,9 @@ RUN curl -sSLO https://github.com/Kitware/CMake/releases/download/v3.25.1/cmake- ENV PATH /opt/cmake/bin:$PATH ENV RUSTUP_HOME=/rust/rustup CARGO_HOME=/rust/cargo PATH=$PATH:/rust/cargo/bin -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal +RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | \ + sh -s -- -y --profile=minimal && \ + chmod -R a+w /rust RUN groupadd -g ${GID} builder && \ useradd --create-home --uid ${UID} --gid ${GID} builder