From 1987cbbea141971f1ec14e55971e874324f5c313 Mon Sep 17 00:00:00 2001 From: Ondrej Brablc Date: Fri, 31 May 2024 17:18:02 +0200 Subject: [PATCH] Fix dockerfile (file copying) --- Dockerfile | 1 + config.sh | 0 docker-cmd.sh | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) mode change 100755 => 100644 config.sh diff --git a/Dockerfile b/Dockerfile index f8f65e5..5405b65 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ ENV DOCKERIZE_VERSION v0.7.0 WORKDIR /app COPY *.sh ./ +COPY integrations/ integrations/ RUN apk update --no-cache \ && apk add --no-cache bash curl jq openssl \ diff --git a/config.sh b/config.sh old mode 100755 new mode 100644 diff --git a/docker-cmd.sh b/docker-cmd.sh index 316d706..06abbfc 100755 --- a/docker-cmd.sh +++ b/docker-cmd.sh @@ -9,7 +9,7 @@ test -z "$ALERT_SCRIPT" && log_warn "Env ALERT_SCRIPT not defined - alerting dis test -z "$SWARM_NAME" && log_warn "Env SWARM_NAME not defined using default" if [[ -n $ALERT_SCRIPT && ! -f $ALERT_SCRIPT ]]; then - log_err "Alert script defined but not accessible on $ALERT_SCRIPT path" + log_error "Alert script defined but not accessible on $ALERT_SCRIPT path" ALERT_SCRIPT="" fi