Skip to content

Commit 48821ea

Browse files
committed
Cleanup crowdsec folder after install.
Uninstall gettext since its not required after the crowdsec install.
1 parent f819b8a commit 48821ea

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ RUN apt-get update \
8888
&& apt-get install -y gcc make socat git \
8989
&& /tmp/install-lua \
9090
&& /tmp/install-openresty \
91-
&& /tmp/install-crowdsec_openresty_bouncer \
92-
&& apt-get remove -y make gcc git wget \
91+
&& /tmp/install-crowdsec_openresty_bouncer \
92+
&& apt-get remove -y make gcc git wget gettext \
9393
&& apt-get autoremove -y \
9494
&& apt-get clean \
9595
&& rm -rf /var/lib/apt/lists/* \

scripts/install-crowdsec_openresty_bouncer

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,6 @@ cd /tmp/crowdsec
1616

1717
bash ./install.sh --NGINX_CONF_DIR=/etc/nginx/conf.d --LIB_PATH=/etc/nginx/lualib --CONFIG_PATH=/defaults/crowdsec --DATA_PATH=/defaults/crowdsec --docker
1818
sed -i 's|ENABLED=.*|ENABLED=false|' /defaults/crowdsec/crowdsec-openresty-bouncer.conf
19+
rm /tmp/crowdsec
1920

2021
echo -e "${BLUE}${GREEN}OpenResty plugins install completed${RESET}"

0 commit comments

Comments
 (0)