This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine:3.4 | |
ENV RUST_VERSION 1.9.0 | |
RUN apk add --no-cache 'curl' | |
# TODO: Verify download. | |
RUN curl -LOsS https://static.rust-lang.org/dist/rustc-${RUST_VERSION}-src.tar.gz \ | |
&& ls -l \ | |
&& tar -xzvf rustc-${RUST_VERSION}-src.tar.gz \ | |
&& cd rustc-${RUST_VERSION}/ \ |