fix some builds

Signed-off-by: Jess Frazelle <acidburn@github.com>
This commit is contained in:
Jess Frazelle 2018-12-28 20:03:15 -05:00
parent 37eb951c89
commit 60dbf5034b
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
6 changed files with 9 additions and 6 deletions

View File

@ -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"]

View File

@ -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

View File

@ -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

View File

@ -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 \

View File

@ -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"]

View File

@ -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"]