mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
add rust image
This commit is contained in:
parent
e01690c590
commit
2387503f99
|
@ -1,8 +1,11 @@
|
|||
FROM python:latest
|
||||
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 apt-get clean && apt-get purge
|
||||
|
||||
ENTRYPOINT ["mpsyt"]
|
||||
|
|
15
rust/Dockerfile
Normal file
15
rust/Dockerfile
Normal 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
|
Loading…
Reference in New Issue
Block a user