From f819b8a87acda69eed02098d55abec25c0a4eb0e Mon Sep 17 00:00:00 2001 From: Brian Munro Date: Mon, 14 Mar 2022 15:11:12 +0200 Subject: [PATCH] Updated crowdsec openresty bouncer to 0.1.7 --- docker/Dockerfile | 1 + local-build.sh | 2 +- scripts/install-crowdsec_openresty_bouncer | 4 +--- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index e51c716..b17e021 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -57,6 +57,7 @@ RUN apt-get update \ tzdata \ unzip \ zlib1g \ + gettext \ wget \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ diff --git a/local-build.sh b/local-build.sh index 0f692e9..b48d767 100755 --- a/local-build.sh +++ b/local-build.sh @@ -9,7 +9,7 @@ RESET='\E[0m' DOCKER_IMAGE=nginxproxymanager/nginx-full export OPENRESTY_VERSION=1.19.9.1 -export CROWDSEC_OPENRESTY_BOUNCER_VERSION=0.1.1 +export CROWDSEC_OPENRESTY_BOUNCER_VERSION=0.1.7 export LUA_VERSION=5.1.5 export LUAROCKS_VERSION=3.3.1 diff --git a/scripts/install-crowdsec_openresty_bouncer b/scripts/install-crowdsec_openresty_bouncer index cc7dbfc..da9e730 100755 --- a/scripts/install-crowdsec_openresty_bouncer +++ b/scripts/install-crowdsec_openresty_bouncer @@ -9,9 +9,7 @@ RESET='\E[0m' echo -e "${BLUE}❯ ${CYAN}Installing Crowdsec OpenResty Bouncer ${YELLOW}${CROWDSEC_OPENRESTY_BOUNCER_VERSION}...${RESET}" cd /tmp -#Offical Crowdsec download location is currently blocked due to two pull requests waiting to be added for full support for Docker installs -#weg "https://github.com/crowdsecurity/cs-openresty-bouncer/releases/download/v${CROWDSEC_OPENRESTY_BOUNCER_VERSION}/crowdsec-openresty-bouncer.tgz" -wget "https://github.com/LePresidente/cs-openresty-bouncer/releases/download/v${CROWDSEC_OPENRESTY_BOUNCER_VERSION}/crowdsec-openresty-bouncer.tgz" +wget "https://github.com/crowdsecurity/cs-openresty-bouncer/releases/download/v${CROWDSEC_OPENRESTY_BOUNCER_VERSION}/crowdsec-openresty-bouncer.tgz" mkdir -p /tmp/crowdsec tar xzf crowdsec-openresty-bouncer.tgz --strip 1 -C /tmp/crowdsec cd /tmp/crowdsec