Skip to content

Commit

Permalink
Make CARGO_HOME world-writable
Browse files Browse the repository at this point in the history
  • Loading branch information
RomainMuller committed Aug 13, 2021
1 parent d506d7a commit f3e14ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superchain/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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+rwx ${CARGO_HOME}
ENV PATH=$PATH:${CARGO_HOME}/bin

# Install JDK8 (Amazon Corretto 8)
Expand Down

0 comments on commit f3e14ef

Please sign in to comment.