diff --git a/Dockerfile b/Dockerfile index 9cdb3d5..94e2984 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,28 +6,36 @@ ARG VERSION LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" LABEL maintainer="sparklyballs" -# environment settings +# environment settings +ARG DEBIAN_FRONTEND="noninteractive" +ARG RADARR_BRANCH="develop" ENV XDG_CONFIG_HOME="/config/xdg" RUN \ + echo "**** install jq ****" && \ + apt-get update && \ + apt-get install -y \ + jq && \ echo "**** install radarr ****" && \ - radarr_tag=$(curl -sX GET "https://api.github.com/repos/Radarr/Radarr/releases" \ - | awk '/tag_name/{print $4;exit}' FS='[""]') && \ + radarr_url=$(curl "http://radarr.aeonlucid.com/v1/update/${RADARR_BRANCH}/changes?os=linux" \ + | jq -r '.[0].url') && \ mkdir -p \ /opt/radarr && \ curl -o \ /tmp/radar.tar.gz -L \ - "https://github.com/Radarr/Radarr/releases/download/${radarr_tag}/Radarr.develop.${radarr_tag#v}.linux.tar.gz" && \ + "${radarr_url}" && \ tar ixzf \ /tmp/radar.tar.gz -C \ /opt/radarr --strip-components=1 && \ echo "**** clean up ****" && \ rm -rf \ - /tmp/* + /tmp/* \ + /var/lib/apt/lists/* \ + /var/tmp/* -# add local files +# add local files COPY /root / -# ports and volumes +# ports and volumes EXPOSE 7878 VOLUME /config /downloads /movies diff --git a/README.md b/README.md index 8421dad..dc80e4d 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,18 @@ docker create \ linuxserver/radarr ``` +You can choose between ,using tags, various branch versions of radarr, no tag is required to remain on the main branch. + +Add one of the tags, if required, to the linuxserver/radarr line of the run/create command in the following format, linuxserver/radarr:nightly + +The nightly branch and master branch can from time to time be the same version. + +HOWEVER , USE THE NIGHTLY BRANCH AT YOUR OWN PERIL !!!!!!!!! + +#### Tags + ++ **nightly** + ## Parameters `The parameters are split into two halves, separated by a colon, the left hand side representing the host and the right the container side. @@ -87,6 +99,7 @@ Access the webui at `:7878`, for more information check out [Radarr][ap ## Versions ++ **24.02.18:** Add nightly branch. + **06.02.18:** Radarr repo changed owner. + **15.12.17:** Fix continuation lines. + **17.04.17:** Switch to using inhouse mono baseimage, adds python also.