From 7f538372842e27650225d9c7b4b1417d943222ba Mon Sep 17 00:00:00 2001 From: sparklyballs Date: Sat, 24 Feb 2018 17:48:51 +0000 Subject: [PATCH 1/3] dev branch added 1st draft README and use json for downlaod url --- Dockerfile | 22 +++++++++++++++------- README.md | 9 +++++++++ 2 files changed, 24 insertions(+), 7 deletions(-) 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..8640e2d 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,14 @@ 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:develop + +#### Tags + ++ **develop** + ## 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 +95,7 @@ Access the webui at `:7878`, for more information check out [Radarr][ap ## Versions ++ **24.02.18:** Add develop 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. From 9bb26026ab84c7db964886b3862c57d925fac5fe Mon Sep 17 00:00:00 2001 From: sparklyballs Date: Sat, 24 Feb 2018 17:54:01 +0000 Subject: [PATCH 2/3] refine README note about dev branch --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 8640e2d..1692142 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,10 @@ You can choose between ,using tags, various branch versions of radarr, no tag is Add one of the tags, if required, to the linuxserver/radarr line of the run/create command in the following format, linuxserver/radarr:develop +The develop branch and master branch can from time to time be the same version. + +HOWEVER , USE THE DEVELOP BRANCH AT YOUR OWN PERIL !!!!!!!!! + #### Tags + **develop** From 34b89a584023236bbf020f4cfffde1e2c2aa66df Mon Sep 17 00:00:00 2001 From: sparklyballs Date: Sat, 24 Feb 2018 18:16:23 +0000 Subject: [PATCH 3/3] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1692142..dc80e4d 100644 --- a/README.md +++ b/README.md @@ -36,15 +36,15 @@ docker create \ 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:develop +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 develop branch and master branch can from time to time be the same version. +The nightly branch and master branch can from time to time be the same version. -HOWEVER , USE THE DEVELOP BRANCH AT YOUR OWN PERIL !!!!!!!!! +HOWEVER , USE THE NIGHTLY BRANCH AT YOUR OWN PERIL !!!!!!!!! #### Tags -+ **develop** ++ **nightly** ## Parameters @@ -99,7 +99,7 @@ Access the webui at `:7878`, for more information check out [Radarr][ap ## Versions -+ **24.02.18:** Add develop branch. ++ **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.