2015-07-19 22:56:03 +02:00
|
|
|
# Run Rainbowstream in a container
|
|
|
|
#
|
2015-07-25 01:36:17 +02:00
|
|
|
# docker run -it --rm \
|
2015-09-12 00:08:20 +02:00
|
|
|
# -v /etc/localtime:/etc/localtime:ro \
|
2015-07-25 01:36:17 +02:00
|
|
|
# -v $HOME/.rainbow_oauth:/root/.rainbow_oauth \ # mount config files
|
|
|
|
# -v $HOME/.rainbow_config.json:/root/.rainbow_config.json \
|
|
|
|
# --name rainbowstream \
|
|
|
|
# jess/rainbowstream
|
2015-07-19 22:56:03 +02:00
|
|
|
#
|
2016-08-12 03:55:48 +02:00
|
|
|
FROM python:2-alpine
|
2017-03-09 19:14:37 +01:00
|
|
|
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
|
2015-01-22 23:00:00 +01:00
|
|
|
|
2016-06-06 05:40:20 +02:00
|
|
|
RUN apk --no-cache add \
|
2015-07-27 06:46:34 +02:00
|
|
|
build-base \
|
|
|
|
ca-certificates \
|
|
|
|
freetype \
|
|
|
|
freetype-dev \
|
|
|
|
openjpeg-dev \
|
2016-08-12 03:55:48 +02:00
|
|
|
zlib-dev
|
|
|
|
|
|
|
|
RUN USER=root pip install \
|
|
|
|
pillow==2.8.0 \
|
|
|
|
rainbowstream
|
2015-01-22 23:00:00 +01:00
|
|
|
|
|
|
|
ENTRYPOINT [ "rainbowstream" ]
|