From 25987e8bd60a06b5bc8e220845457fdc79d7e89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=9F=91=A8=F0=9F=8F=BB=E2=80=8D=F0=9F=92=BB=20Romain=20M?= =?UTF-8?q?arcadier?= Date: Fri, 13 Aug 2021 12:27:33 +0200 Subject: [PATCH] Make CARGO_HOME world-writable --- superchain/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/superchain/Dockerfile b/superchain/Dockerfile index 69726db23a..4e536033da 100644 --- a/superchain/Dockerfile +++ b/superchain/Dockerfile @@ -138,7 +138,8 @@ ENV RUSTUP_HOME=/usr/local/rustup CARGO_HOME=/usr/local/cargo RUN set -eo pipefail \ && curl -fSsL "https://sh.rustup.rs" | sh -s -- -y --no-modify-path --profile=minimal \ - && echo "source ${CARGO_HOME}/env" >> /etc/profile.d/cargo.sh + && echo "source ${CARGO_HOME}/env" >> /etc/profile.d/cargo.sh \ + && chmod -R a+rw ${CARGO_HOME} ENV PATH=$PATH:${CARGO_HOME}/bin # Install JDK8 (Amazon Corretto 8)