mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-01 22:55:39 +00:00
alpine 3.6
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
FROM alpine:3.5
|
||||
FROM alpine:3.6
|
||||
|
||||
ARG VERSION=6.2
|
||||
|
||||
@ -6,14 +6,14 @@ ENV UID=991 GID=991
|
||||
|
||||
WORKDIR /libresonic
|
||||
|
||||
RUN echo "@community https://nl.alpinelinux.org/alpine/v3.5/community" >> /etc/apk/repositories \
|
||||
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@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/*
|
||||
|
||||
@ -25,8 +25,8 @@ EXPOSE 4040
|
||||
|
||||
VOLUME /data /musics /playlists /podcasts
|
||||
|
||||
LABEL description "Open source media streamer" \
|
||||
libresonic "Libresonic v$VERSION" \
|
||||
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