From 60dbf5034b8ab3b8bffe267e185943bf2b7f16a5 Mon Sep 17 00:00:00 2001 From: Jess Frazelle Date: Fri, 28 Dec 2018 20:03:15 -0500 Subject: [PATCH] fix some builds Signed-off-by: Jess Frazelle --- cloudapp/Dockerfile | 2 +- gmail-britta/Dockerfile | 2 +- latest-versions.sh | 5 ++++- radarr/Dockerfile | 2 +- t/Dockerfile | 2 +- travis/Dockerfile | 2 +- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/cloudapp/Dockerfile b/cloudapp/Dockerfile index c5f4f14..8d4f0f6 100644 --- a/cloudapp/Dockerfile +++ b/cloudapp/Dockerfile @@ -7,7 +7,7 @@ RUN apk add --no-cache \ RUN set -x \ && apk add --no-cache --virtual .build-deps \ build-base \ - && gem install cloudapp --no-rdoc --no-ri \ + && gem install cloudapp --no-document \ && apk del .build-deps ENTRYPOINT ["cloudapp"] diff --git a/gmail-britta/Dockerfile b/gmail-britta/Dockerfile index 3a54405..a19ee80 100644 --- a/gmail-britta/Dockerfile +++ b/gmail-britta/Dockerfile @@ -7,5 +7,5 @@ RUN apk add --no-cache \ RUN set -x \ && apk add --no-cache --virtual .build-deps \ build-base \ - && gem install gmail-britta --no-rdoc --no-ri \ + && gem install gmail-britta --no-document \ && apk del .build-deps diff --git a/latest-versions.sh b/latest-versions.sh index 103e160..a27b35b 100755 --- a/latest-versions.sh +++ b/latest-versions.sh @@ -15,7 +15,10 @@ get_latest() { local repo=$1 local resp - resp=$(curl -sSL -H "${AUTH_HEADER}" -H "${API_HEADER}" "${URI}/repos/${repo}/releases" | jq --raw-output '[.[] | select(.prerelease == false)]') + resp=$(curl -sSL -H "${AUTH_HEADER}" -H "${API_HEADER}" "${URI}/repos/${repo}/releases") + if [[ "$repo" != "Radarr/Radarr" ]]; then + resp=$(echo "$resp" | jq --raw-output '[.[] | select(.prerelease == false)]') + fi local tag tag=$(echo "$resp" | jq -e --raw-output .[0].tag_name) local name diff --git a/radarr/Dockerfile b/radarr/Dockerfile index 76cdc66..d1d7de8 100644 --- a/radarr/Dockerfile +++ b/radarr/Dockerfile @@ -14,7 +14,7 @@ RUN apk add --no-cache \ --repository https://dl-4.alpinelinux.org/alpine/edge/testing # https://github.com/Radarr/Radarr/releases -ENV RADARR_VERSION v2.0.0.4472 +ENV RADARR_VERSION v0.2.0.1217 RUN mkdir -p /opt/radarr \ && wget "https://github.com/Radarr/Radarr/releases/download/${RADARR_VERSION}/Radarr.${RADARR_VERSION}.linux.tar.gz" -O /tmp/radarr.tar.gz \ && tar -xzvf /tmp/radarr.tar.gz -C /opt/radarr --strip-components 1 \ diff --git a/t/Dockerfile b/t/Dockerfile index ad11b64..f85b8da 100644 --- a/t/Dockerfile +++ b/t/Dockerfile @@ -7,7 +7,7 @@ RUN apk add --no-cache \ RUN set -x \ && apk add --no-cache --virtual .build-deps \ build-base \ - && gem install io-console t --no-rdoc --no-ri \ + && gem install io-console t --no-document \ && apk del .build-deps ENTRYPOINT ["t"] diff --git a/travis/Dockerfile b/travis/Dockerfile index 9e5c060..94db51d 100644 --- a/travis/Dockerfile +++ b/travis/Dockerfile @@ -8,7 +8,7 @@ RUN apk add --no-cache \ RUN set -x \ && apk add --no-cache --virtual .build-deps \ build-base \ - && gem install travis --no-rdoc --no-ri \ + && gem install travis --no-document \ && apk del .build-deps ENTRYPOINT ["travis"]