Initial commit
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2019-03-15 14:05:36 +01:00
parent bc72a8d328
commit 3d8925c151
6 changed files with 108 additions and 0 deletions

19
Dockerfile Normal file
View 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"]