mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 13:28:30 +01:00
7ac4881609
This enables us to remove the following patterns that required a `rm -rf /var/cache/apk`: - `apk update` - `apk add --update` - `apk add --update-cache` Supported since alpine 3.3.
26 lines
570 B
Docker
26 lines
570 B
Docker
# Run Rainbowstream in a container
|
|
#
|
|
# docker run -it --rm \
|
|
# -v /etc/localtime:/etc/localtime:ro \
|
|
# -v $HOME/.rainbow_oauth:/root/.rainbow_oauth \ # mount config files
|
|
# -v $HOME/.rainbow_config.json:/root/.rainbow_config.json \
|
|
# --name rainbowstream \
|
|
# jess/rainbowstream
|
|
#
|
|
FROM alpine:latest
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
RUN apk --no-cache add \
|
|
build-base \
|
|
ca-certificates \
|
|
freetype \
|
|
freetype-dev \
|
|
openjpeg-dev \
|
|
python \
|
|
python-dev \
|
|
py-pip \
|
|
zlib-dev \
|
|
&& pip install pillow==2.8.0 rainbowstream
|
|
|
|
ENTRYPOINT [ "rainbowstream" ]
|