File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -378,6 +378,10 @@ RUN \
378
378
379
379
# Install Crowdsec OpenResty Bouncer.
380
380
RUN \
381
+ # Install packages needed by the build.
382
+ add-pkg --virtual build-dependencies \
383
+ gettext \
384
+ && \
381
385
# Download the Crowdsec OpenResty Bouncer package.
382
386
echo "Downloading Crowdsec Openresty Bouncer package..." && \
383
387
mkdir crowdsec-openresty-bouncer && \
@@ -388,6 +392,7 @@ RUN \
388
392
bash ./install.sh --NGINX_CONF_DIR=/etc/nginx/conf.d --LIB_PATH=/var/lib/nginx/lualib --CONFIG_PATH=/defaults/crowdsec/ --DATA_PATH=/defaults/crowdsec/ --docker && \
389
393
sed-patch 's|ENABLED=.*|ENABLED=false|' /defaults/crowdsec/crowdsec-openresty-bouncer.conf && \
390
394
# Cleanup.
395
+ del-pkg build-dependencies && \
391
396
rm -rf /tmp/* /tmp/.[!.]*
392
397
393
398
# Add files.
You can’t perform that action at this time.
0 commit comments