mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 19:32:30 +01:00
16 lines
520 B
Docker
16 lines
520 B
Docker
|
FROM debian:jessie
|
||
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
||
|
|
||
|
RUN apt-get update && apt-get install -y \
|
||
|
ca-certificates \
|
||
|
curl \
|
||
|
--no-install-recommends \
|
||
|
&& 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
|