mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-01 22:55:39 +00:00
replace subsonic with libresonic
This commit is contained in:
33
libresonic/Dockerfile
Normal file
33
libresonic/Dockerfile
Normal file
@ -0,0 +1,33 @@
|
||||
FROM alpine:edge
|
||||
|
||||
ARG VERSION=6.2.beta1
|
||||
|
||||
ENV UID=991 GID=991 \
|
||||
HTTPSPORT=0
|
||||
|
||||
WORKDIR /libresonic
|
||||
|
||||
RUN echo "@community https://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories \
|
||||
&& apk -U upgrade && apk add \
|
||||
ffmpeg \
|
||||
su-exec \
|
||||
libressl \
|
||||
ca-certificates \
|
||||
openjdk8-jre@community \
|
||||
tini@community \
|
||||
&& wget -q https://github.com/Libresonic/libresonic/releases/download/v${VERSION}/libresonic-v${VERSION}.war -O libresonic.war \
|
||||
&& rm -f /var/cache/apk/*
|
||||
|
||||
COPY run.sh /usr/local/bin/run.sh
|
||||
|
||||
RUN chmod +x /usr/local/bin/run.sh
|
||||
|
||||
EXPOSE 4040 4050
|
||||
|
||||
VOLUME /data /musics /playlists /podcasts
|
||||
|
||||
LABEL description "Open source media streamer" \
|
||||
libresonic "Libresonic v$VERSION" \
|
||||
maintainer="Wonderfall <wonderfall@targaryen.house>"
|
||||
|
||||
CMD ["run.sh"]
|
Reference in New Issue
Block a user