diff --git a/docker/Dockerfile b/docker/Dockerfile index b17e021..e974274 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -88,8 +88,8 @@ RUN apt-get update \ && apt-get install -y gcc make socat git \ && /tmp/install-lua \ && /tmp/install-openresty \ - && /tmp/install-crowdsec_openresty_bouncer \ - && apt-get remove -y make gcc git wget \ + && /tmp/install-crowdsec_openresty_bouncer \ + && apt-get remove -y make gcc git wget gettext \ && apt-get autoremove -y \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ diff --git a/scripts/install-crowdsec_openresty_bouncer b/scripts/install-crowdsec_openresty_bouncer index da9e730..76946de 100755 --- a/scripts/install-crowdsec_openresty_bouncer +++ b/scripts/install-crowdsec_openresty_bouncer @@ -16,5 +16,6 @@ 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 sed -i 's|ENABLED=.*|ENABLED=false|' /defaults/crowdsec/crowdsec-openresty-bouncer.conf +rm /tmp/crowdsec echo -e "${BLUE}❯ ${GREEN}OpenResty plugins install completed${RESET}"