This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM alpine:edge
|
||||
MAINTAINER Samuel Warkentin <sam@sam-services.de>
|
||||
|
||||
RUN apk --update add openjdk8-jre ffmpeg supervisor
|
||||
|
||||
ENV VERSION=5.3
|
||||
|
||||
RUN adduser -D -u 1000 subsonic
|
||||
|
||||
RUN wget http://s3-eu-west-1.amazonaws.com/subsonic-public/download/subsonic-$VERSION-standalone.tar.gz -O subsonic.tar.gz
|
||||
RUN tar xvfz subsonic.tar.gz && rm -f subsonic.tar.gz
|
||||
RUN sed -i -e 's,1 &,1,g' subsonic.sh
|
||||
|
||||
VOLUME [ "/data" ]
|
||||
EXPOSE 4040
|
||||
|
||||
COPY supervisord.conf /etc/supervisord.conf
|
||||
COPY start-subsonic.sh /
|
||||
CMD ["/usr/bin/supervisord"]
|
||||
Reference in New Issue
Block a user