mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
fix some builds
Signed-off-by: Jess Frazelle <acidburn@github.com>
This commit is contained in:
parent
37eb951c89
commit
60dbf5034b
|
@ -7,7 +7,7 @@ RUN apk add --no-cache \
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& apk add --no-cache --virtual .build-deps \
|
&& apk add --no-cache --virtual .build-deps \
|
||||||
build-base \
|
build-base \
|
||||||
&& gem install cloudapp --no-rdoc --no-ri \
|
&& gem install cloudapp --no-document \
|
||||||
&& apk del .build-deps
|
&& apk del .build-deps
|
||||||
|
|
||||||
ENTRYPOINT ["cloudapp"]
|
ENTRYPOINT ["cloudapp"]
|
||||||
|
|
|
@ -7,5 +7,5 @@ RUN apk add --no-cache \
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& apk add --no-cache --virtual .build-deps \
|
&& apk add --no-cache --virtual .build-deps \
|
||||||
build-base \
|
build-base \
|
||||||
&& gem install gmail-britta --no-rdoc --no-ri \
|
&& gem install gmail-britta --no-document \
|
||||||
&& apk del .build-deps
|
&& apk del .build-deps
|
||||||
|
|
|
@ -15,7 +15,10 @@ get_latest() {
|
||||||
local repo=$1
|
local repo=$1
|
||||||
|
|
||||||
local resp
|
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
|
local tag
|
||||||
tag=$(echo "$resp" | jq -e --raw-output .[0].tag_name)
|
tag=$(echo "$resp" | jq -e --raw-output .[0].tag_name)
|
||||||
local name
|
local name
|
||||||
|
|
|
@ -14,7 +14,7 @@ RUN apk add --no-cache \
|
||||||
--repository https://dl-4.alpinelinux.org/alpine/edge/testing
|
--repository https://dl-4.alpinelinux.org/alpine/edge/testing
|
||||||
|
|
||||||
# https://github.com/Radarr/Radarr/releases
|
# 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 \
|
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 \
|
&& 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 \
|
&& tar -xzvf /tmp/radarr.tar.gz -C /opt/radarr --strip-components 1 \
|
||||||
|
|
|
@ -7,7 +7,7 @@ RUN apk add --no-cache \
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& apk add --no-cache --virtual .build-deps \
|
&& apk add --no-cache --virtual .build-deps \
|
||||||
build-base \
|
build-base \
|
||||||
&& gem install io-console t --no-rdoc --no-ri \
|
&& gem install io-console t --no-document \
|
||||||
&& apk del .build-deps
|
&& apk del .build-deps
|
||||||
|
|
||||||
ENTRYPOINT ["t"]
|
ENTRYPOINT ["t"]
|
||||||
|
|
|
@ -8,7 +8,7 @@ RUN apk add --no-cache \
|
||||||
RUN set -x \
|
RUN set -x \
|
||||||
&& apk add --no-cache --virtual .build-deps \
|
&& apk add --no-cache --virtual .build-deps \
|
||||||
build-base \
|
build-base \
|
||||||
&& gem install travis --no-rdoc --no-ri \
|
&& gem install travis --no-document \
|
||||||
&& apk del .build-deps
|
&& apk del .build-deps
|
||||||
|
|
||||||
ENTRYPOINT ["travis"]
|
ENTRYPOINT ["travis"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user