From 6f7e8ac26e65854b7536219c739293ebfc279557 Mon Sep 17 00:00:00 2001 From: Brian Munro Date: Tue, 15 Mar 2022 08:04:07 +0200 Subject: [PATCH] remove the crowdsec install tgz file. --- docker/Dockerfile | 2 +- scripts/install-crowdsec_openresty_bouncer | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index e974274..d47aa17 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -58,7 +58,7 @@ RUN apt-get update \ unzip \ zlib1g \ gettext \ - wget \ + wget \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ && rm -rf /var/cache/* /var/log/* /tmp/* /var/lib/dpkg/status-old diff --git a/scripts/install-crowdsec_openresty_bouncer b/scripts/install-crowdsec_openresty_bouncer index 76946de..68a6dc0 100755 --- a/scripts/install-crowdsec_openresty_bouncer +++ b/scripts/install-crowdsec_openresty_bouncer @@ -12,6 +12,7 @@ cd /tmp 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 +rm -rf /tmp/crowdsec-openresty-bouncer.tgz cd /tmp/crowdsec bash ./install.sh --NGINX_CONF_DIR=/etc/nginx/conf.d --LIB_PATH=/etc/nginx/lualib --CONFIG_PATH=/defaults/crowdsec --DATA_PATH=/defaults/crowdsec --docker