add rust image

This commit is contained in:
Jessica Frazelle 2015-03-09 19:58:41 -07:00
parent e01690c590
commit 2387503f99
2 changed files with 20 additions and 2 deletions

View File

@ -1,8 +1,11 @@
FROM python:latest FROM python:latest
MAINTAINER Justin Garrison <justinleegarrison@gmail.com> MAINTAINER Justin Garrison <justinleegarrison@gmail.com>
RUN apt-get update && apt-get install -y mplayer RUN apt-get update && apt-get install -y \
mplayer \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
RUN pip install mps-youtube RUN pip install mps-youtube
RUN apt-get clean && apt-get purge
ENTRYPOINT ["mpsyt"] ENTRYPOINT ["mpsyt"]

15
rust/Dockerfile Normal file
View File

@ -0,0 +1,15 @@
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