Skip to content

Instantly share code, notes, and snippets.

@oleschoenburg
Last active February 13, 2018 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oleschoenburg/c1ea849ff48a42106d7a6038e8691612 to your computer and use it in GitHub Desktop.
Save oleschoenburg/c1ea849ff48a42106d7a6038e8691612 to your computer and use it in GitHub Desktop.
Rust 0.1 Dockerfile
FROM debian:wheezy
RUN apt-get update
RUN apt-get install -y build-essential
RUN apt-get install -y git
RUN apt-get install -y curl
RUN apt-get install -y python
RUN git clone https://github.com/rust-lang/rust.git
WORKDIR rust
RUN git checkout tags/0.1
RUN sed -i -e "s,\http://dl.rust-lang.org,https://static.rust-lang.org," src/etc/snapshot.py
RUN ./configure
RUN make
RUN make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment