1
0
mirror of https://github.com/hoellen/dockerfiles.git synced 2025-07-27 11:25:41 +00:00
Files
boring-nginx
matomo
nextcloud
nginx-php
privatebin
searx
unmaintained
boinc
cowrie
cryptpad
freshrss
ghost
isso
kippo-graph
libresonic
Dockerfile
README.md
run.sh
lutim
lychee
mastodon
mediawiki
nginx
parsoid
pgbouncer
rainloop
reverse
rtorrent-flood
rutorrent
tor
LICENSE
README.md
dockerfiles/unmaintained/libresonic/Dockerfile
2018-01-22 22:30:12 +01:00

33 lines
761 B
Docker

FROM alpine:3.6
ARG VERSION=6.2
ENV UID=991 GID=991
WORKDIR /libresonic
RUN echo "@community https://nl.alpinelinux.org/alpine/v3.6/community" >> /etc/apk/repositories \
&& apk -U upgrade && apk add \
ffmpeg \
su-exec \
libressl \
ca-certificates \
openjdk8-jre@community \
tini \
&& 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
VOLUME /data /musics /playlists /podcasts
LABEL description="Open source media streamer" \
libresonic="Libresonic v$VERSION" \
maintainer="Wonderfall <wonderfall@targaryen.house>"
CMD ["run.sh"]