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 \
378378
379379# Install Crowdsec OpenResty Bouncer.
380380RUN \
381+ # Install packages needed by the build.
382+ add-pkg --virtual build-dependencies \
383+ gettext \
384+ && \
381385 # Download the Crowdsec OpenResty Bouncer package.
382386 echo "Downloading Crowdsec Openresty Bouncer package..." && \
383387 mkdir crowdsec-openresty-bouncer && \
@@ -388,6 +392,7 @@ RUN \
388392 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 && \
389393 sed-patch 's|ENABLED=.*|ENABLED=false|' /defaults/crowdsec/crowdsec-openresty-bouncer.conf && \
390394 # Cleanup.
395+ del-pkg build-dependencies && \
391396 rm -rf /tmp/* /tmp/.[!.]*
392397
393398# Add files.
You can’t perform that action at this time.
0 commit comments