Skip to content

Commit

Permalink
More secure rust installation in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Jan 14, 2021
1 parent 9177092 commit 56cf86a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV PATH /opt/python/cp36-cp36m/bin/:/opt/python/cp37-cp37m/bin/:/opt/python/cp3
# Otherwise `cargo new` errors
ENV USER root

RUN curl https://sh.rustup.rs -sSf | sh -s -- -y \
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
&& python3 -m pip install --no-cache-dir cffi \
&& mkdir /io

Expand Down

0 comments on commit 56cf86a

Please sign in to comment.