Skip to content

Commit

Permalink
Always use latest rustup when building the container. (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyb authored Dec 9, 2020
1 parent 19e6cc3 commit 1fc3139
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ ENV deny_version=0.8.4

RUN set -eux; \
apk update; \
apk add curl; \
apk add bash curl; \
curl --silent -L https://github.com/EmbarkStudios/cargo-deny/releases/download/$deny_version/cargo-deny-$deny_version-x86_64-unknown-linux-musl.tar.gz | tar -xzv -C /usr/bin --strip-components=1;

# Ensure rustup is up to date.
RUN bash -c "sh <(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs) -y"

COPY entrypoint.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit 1fc3139

Please sign in to comment.