Skip to content
This repository has been archived by the owner on Feb 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #20 from approvers/update-rustup
Browse files Browse the repository at this point in the history
Use sh.rustup.rs instead to keep rustup latest on Dockerfile
  • Loading branch information
siketyan authored Sep 16, 2020
2 parents ade2b43 + 677f4bc commit e7d7f10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ FROM alpine:3.12 AS build

COPY . /src
WORKDIR /src
RUN apk add --no-cache --update rustup gcc musl-dev && \
rustup-init --default-toolchain nightly -y && \
RUN apk add --no-cache --update curl gcc musl-dev && \
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y && \
source $HOME/.cargo/env && \
cargo build --release

Expand Down

0 comments on commit e7d7f10

Please sign in to comment.