Skip to content

Commit

Permalink
ci: try working around rust-lang/rustup#2700
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Mar 6, 2023
1 parent 69f51ba commit 84eb002
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ ENV \
# add cargo home to the path, must be in a new step to table able to reference CARGO_HOME
ENV PATH="$PATH:$CARGO_HOME/bin"

# the 'sed' workaround is required due to https://github.com/rust-lang/rustup/issues/2700
RUN \
curl https://sh.rustup.rs -sSf | sh -s -- -y && \
curl https://sh.rustup.rs -sSf | sed 's#/proc/self/exe#$SHELL#g' | sh -s -- -y && \
rustup target add wasm32-unknown-unknown

RUN true \
Expand Down

0 comments on commit 84eb002

Please sign in to comment.