mirror of
https://github.com/NginxProxyManager/docker-nginx-full.git
synced 2024-12-06 19:26:20 +01:00
remove the crowdsec install tgz file.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user