~sbaildon/lidarr

lidarr/Containerfile -rw-r--r-- 560 bytes
87806405Sean Baildon arm and amd builds 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM alpine:3

ARG VERSION="1.0.1.2578"
ARG BRANCH="develop"

ARG TARGETARCH

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/${BRANCH}/updatefile?version=${VERSION}&os=linuxmusl&runtime=netcore&arch=$(echo ${TARGETARCH} | sed 's/amd/x/')" \
        | tar xzf - -C "/lidarr/bin" --strip-components=1 \
        && rm -rf "/lidarr/bin/Lidarr.Update" \
        && chmod -R u=rwX,go=rX "/lidarr"

ENTRYPOINT ["/lidarr/bin/Lidarr"]