dockerfiles/rust/Dockerfile

17 lines
533 B
Docker
Raw Normal View History

2015-03-10 03:58:41 +01:00
FROM debian:jessie
MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
2015-07-21 06:21:07 +02:00
build-essential \
ca-certificates \
2015-03-10 03:58:41 +01:00
curl \
--no-install-recommends \
2015-03-10 03:58:41 +01:00
&& rm -rf /var/lib/apt/lists/*
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/rust/rustc/bin
RUN mkdir -p /usr/local/rust \
&& curl -sSL https://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz | tar -v -C /usr/local/rust -xz --strip-components 1 \
&& cd /usr/local/rust \
&& ./install.sh