docker-subsonic/Dockerfile

21 lines
710 B
Docker
Raw Permalink Normal View History

2019-04-09 15:34:15 -07:00
FROM ubuntu:bionic
2016-01-02 18:33:09 -08:00
EXPOSE 4050
EXPOSE 4051
RUN apt-get update && \
apt-get install -y wget && \
2019-04-09 15:34:15 -07:00
apt-get install -y openjdk-8-jre-headless wget sudo
2019-04-09 19:38:18 -07:00
RUN mkdir /tools && \
wget -qO /tmp/subsonic.deb https://s3-eu-west-1.amazonaws.com/subsonic-public/download/subsonic-6.1.5.deb && \
wget -qO /tools/hsqldb-1.8.0.5.jar http://repo1.maven.org/maven2/hsqldb/hsqldb/1.8.0.5/hsqldb-1.8.0.5.jar && \
wget -qO /tools/sqltool-2.0.0.jar http://repo1.maven.org/maven2/org/hsqldb/sqltool/2.0.0/sqltool-2.0.0.jar && \
2016-01-02 18:33:09 -08:00
dpkg -i /tmp/subsonic.deb && \
useradd subsonic && \
2016-08-23 13:53:19 -07:00
mkdir /var/subsonic/lucene2 && \
2019-04-09 19:38:18 -07:00
chown -R subsonic:subsonic /var/subsonic
2016-01-02 18:33:09 -08:00
2019-04-09 15:34:15 -07:00
ADD start /start
ENTRYPOINT ["/start"]