From ae097b02c2b763fe47a93335c81418eba9a92ed8 Mon Sep 17 00:00:00 2001 From: Justin Garrison Date: Wed, 25 Feb 2015 14:26:11 -0800 Subject: [PATCH 1/2] added mps-youtube dockerfile --- mpsyt/Dockerfile | 8 ++++++++ mpsyt/README | 11 +++++++++++ 2 files changed, 19 insertions(+) create mode 100644 mpsyt/Dockerfile create mode 100644 mpsyt/README diff --git a/mpsyt/Dockerfile b/mpsyt/Dockerfile new file mode 100644 index 0000000..2e7fc97 --- /dev/null +++ b/mpsyt/Dockerfile @@ -0,0 +1,8 @@ +FROM python:latest +MAINTAINER Justin Garrison + +RUN apt-get update && apt-get install -y mplayer +RUN pip install mps-youtube +RUN apt-get clean && apt-get purge + +ENTRYPOINT ["mpsyt"] diff --git a/mpsyt/README b/mpsyt/README new file mode 100644 index 0000000..7b7bed6 --- /dev/null +++ b/mpsyt/README @@ -0,0 +1,11 @@ +mps-youtube +-------- + +Docker container for running [mpsyt](https://github.com/np1/mps-youtube) inside +a docker container. + +Run with + +``` +docker run -v /dev/snd:/dev/snd -it --rm rothgar/mpsyt +``` From 581188e5f6aa09b8792c81386464b39b3946e15b Mon Sep 17 00:00:00 2001 From: Justin Garrison Date: Wed, 25 Feb 2015 14:35:27 -0800 Subject: [PATCH 2/2] Forgot container needs to be --privileged --- mpsyt/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpsyt/README b/mpsyt/README index 7b7bed6..92886f2 100644 --- a/mpsyt/README +++ b/mpsyt/README @@ -7,5 +7,5 @@ a docker container. Run with ``` -docker run -v /dev/snd:/dev/snd -it --rm rothgar/mpsyt +docker run -v /dev/snd:/dev/snd -it --rm --privileged rothgar/mpsyt ```