Skip to content

Instantly share code, notes, and snippets.

@lenaschoenburg
Last active February 13, 2018 15:25
Show Gist options
  • Save lenaschoenburg/c1ea849ff48a42106d7a6038e8691612 to your computer and use it in GitHub Desktop.
Save lenaschoenburg/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