mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-01 14:45:38 +00:00
initial commit
This commit is contained in:
28
subsonic/Dockerfile
Normal file
28
subsonic/Dockerfile
Normal file
@ -0,0 +1,28 @@
|
||||
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"]
|
Reference in New Issue
Block a user