Skip to content

Commit 3fa2332

Browse files
author
Valentin Vetter
committed
Add Dockerfile for rust 1.15
1 parent a39c434 commit 3fa2332

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

1.15/Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM buildpack-deps:jessie
2+
3+
ENV RUST_VERSION=1.15.0
4+
ENV RUST_ARCHIVE=rust-${RUST_VERSION}-x86_64-unknown-linux-gnu
5+
6+
RUN curl -sSLO https://static.rust-lang.org/dist/${RUST_ARCHIVE}.tar.gz \
7+
&& tar -xzf ${RUST_ARCHIVE}.tar.gz \
8+
&& ./${RUST_ARCHIVE}/install.sh --without=rust-docs \
9+
&& rm -rf \
10+
${RUST_ARCHIVE} \
11+
${RUST_ARCHIVE}.tar.gz

0 commit comments

Comments
 (0)