You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
497 B

10 years ago
  1. FROM debian:wheezy
  2. MAINTAINER Johannes Schickling "schickling.j@gmail.com"
  3. # install curl (needed to install rust)
  4. RUN apt-get update && apt-get install -y curl gdb
  5. # install rust & cargo
  6. RUN curl -s https://static.rust-lang.org/rustup.sh | sh
  7. # cleanup package manager
  8. RUN apt-get remove --purge -y curl && apt-get autoclean && apt-get clean
  9. RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  10. # prepare dir
  11. RUN mkdir -p /usr/src/app
  12. VOLUME ["/usr/src/app"]
  13. WORKDIR /usr/src/app
  14. CMD ["bash"]