mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-21 04:49:18 +00:00
29 lines
871 B
Docker
29 lines
871 B
Docker
|
FROM alpine:3.3
|
|||
|
MAINTAINER Wonderfall <wonderfall@mondedie.fr>
|
|||
|
|
|||
|
ENV VER=6.0.beta2 GID=1000 UID=1000
|
|||
|
|
|||
|
RUN echo "@community http://dl-4.alpinelinux.org/alpine/v3.3/community/" >> /etc/apk/repositories \
|
|||
|
&& echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
|
|||
|
&& echo "@edge http://nl.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories \
|
|||
|
&& apk -U add \
|
|||
|
libva@edge \ #libva was missing
|
|||
|
ffmpeg \
|
|||
|
openjdk8-jre@community \
|
|||
|
tini@commuedge \
|
|||
|
&& rm -f /var/cache/apk/*
|
|||
|
|
|||
|
WORKDIR /subsonic
|
|||
|
RUN wget -qO- http://subsonic.org/download/subsonic-$VER-standalone.tar.gz | tar zxf -
|
|||
|
|
|||
|
COPY run.sh /usr/local/bin/run.sh
|
|||
|
RUN chmod +x /usr/local/bin/run.sh
|
|||
|
|
|||
|
EXPOSE 4040
|
|||
|
VOLUME /data /musics /playlists /podcasts
|
|||
|
|
|||
|
LABEL description "Open source media streamer" \
|
|||
|
subsonisc "Subsonic v$VER"
|
|||
|
|
|||
|
CMD ["tini","--","run.sh"]
|