mirror of
https://github.com/NginxProxyManager/docker-nginx-full.git
synced 2024-12-06 19:26:20 +01:00
Cleanup crowdsec folder after install.
Uninstall gettext since its not required after the crowdsec install.
This commit is contained in:
+2
-2
@@ -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/* \
|
||||
|
||||
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user