~sbaildon/lidarr

71659e62148cf83e2ccc06f21f65fdc5fe0a09ed — Sean Baildon 4 months ago 0770fac
hotio style
1 files changed, 7 insertions(+), 5 deletions(-)

M Containerfile
M Containerfile => Containerfile +7 -5
@@ 1,7 1,9 @@
FROM alpine:3
RUN apk add --no-cache curl mediainfo sqlite
RUN mkdir -p /opt
RUN curl -L 'http://lidarr.servarr.com/v1/update/master/updatefile?os=linux&runtime=netcore&arch=x64' \
	| tar -C /opt -xf -
RUN apk add --no-cache libintl sqlite-libs icu-libs chromaprint curl
RUN mkdir -p /lidarr/bin
RUN curl --silent --show-error --fail --location "https://lidarr.servarr.com/v1/update/master/updatefile?version=${VERSION}&os=linuxmusl&runtime=netcore&arch=arm64" \
        | tar xzf - -C "/lidarr/bin" --strip-components=1 \
        && rm -rf "/lidarr/bin/Lidarr.Update" \
        && chmod -R u=rwX,go=rX "/lidarr"

ENTRYPOINT ["/opt/Lidarr/Lidarr"]
ENTRYPOINT ["/lidarr/bin/Lidarr"]