From c4219bf1057eef33b2905535dbc94cce8c74ffd0 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Thu, 11 Aug 2016 18:55:48 -0700 Subject: [PATCH] fix spotify Signed-off-by: Jess Frazelle --- rainbowstream/Dockerfile | 12 ++++++------ spotify/Dockerfile | 7 +++++-- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/rainbowstream/Dockerfile b/rainbowstream/Dockerfile index 62b37dc..dd4a666 100644 --- a/rainbowstream/Dockerfile +++ b/rainbowstream/Dockerfile @@ -7,7 +7,7 @@ # --name rainbowstream \ # jess/rainbowstream # -FROM alpine:latest +FROM python:2-alpine MAINTAINER Jessica Frazelle RUN apk --no-cache add \ @@ -16,10 +16,10 @@ RUN apk --no-cache add \ freetype \ freetype-dev \ openjpeg-dev \ - python \ - python-dev \ - py-pip \ - zlib-dev \ - && pip install pillow==2.8.0 rainbowstream + zlib-dev + +RUN USER=root pip install \ + pillow==2.8.0 \ + rainbowstream ENTRYPOINT [ "rainbowstream" ] diff --git a/spotify/Dockerfile b/spotify/Dockerfile index aa71c6f..bef56a5 100644 --- a/spotify/Dockerfile +++ b/spotify/Dockerfile @@ -13,14 +13,17 @@ FROM debian:sid MAINTAINER Jessie Frazelle -RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 \ +RUN apt-get update && apt-get install -y \ + gnupg \ + --no-install-recommends \ + && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886 \ && echo "deb http://repository.spotify.com stable non-free" >> /etc/apt/sources.list.d/spotify.list \ && apt-get update && apt-get install -y \ alsa-utils \ libgl1-mesa-dri \ libgl1-mesa-glx \ libpangoxft-1.0-0 \ - libssl1.0.0 \ + libssl1.0.2 \ libxss1 \ spotify-client \ xdg-utils \