mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-15 04:43:01 -04:00
Fix failures not failing
This commit is contained in:
+3
-3
@@ -1,6 +1,6 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
FROM ghcr.io/linuxserver/baseimage-alpine:3.20 AS buildstage
|
FROM ghcr.io/linuxserver/baseimage-alpine:3.21 AS buildstage
|
||||||
|
|
||||||
ARG MOD_VERSION
|
ARG MOD_VERSION
|
||||||
|
|
||||||
@@ -11,14 +11,14 @@ RUN \
|
|||||||
| jq -r '.tag_name'); \
|
| jq -r '.tag_name'); \
|
||||||
fi && \
|
fi && \
|
||||||
if [ -z ${MOD_VERSION+x} ]; then \
|
if [ -z ${MOD_VERSION+x} ]; then \
|
||||||
echo "**** Could not fetch current bouncer version from Github ****" \
|
echo "**** Could not fetch current bouncer version from Github ****"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi && \
|
fi && \
|
||||||
curl -sLo \
|
curl -sLo \
|
||||||
/root-layer/crowdsec-nginx-bouncer.tgz -L \
|
/root-layer/crowdsec-nginx-bouncer.tgz -L \
|
||||||
"https://github.com/crowdsecurity/cs-nginx-bouncer/releases/download/${MOD_VERSION}/crowdsec-nginx-bouncer.tgz" && \
|
"https://github.com/crowdsecurity/cs-nginx-bouncer/releases/download/${MOD_VERSION}/crowdsec-nginx-bouncer.tgz" && \
|
||||||
if ! tar -tzf /root-layer/crowdsec-nginx-bouncer.tgz >/dev/null 2>&1; then \
|
if ! tar -tzf /root-layer/crowdsec-nginx-bouncer.tgz >/dev/null 2>&1; then \
|
||||||
echo "**** Invalid tarball, could not download crowdsec bouncer ****" \
|
echo "**** Invalid tarball, could not download crowdsec bouncer ****"; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user