Skip to content

Commit 04a97a9

Browse files
committed
make sure envsubst is available for the crowdsec openresty bouncer installer.
1 parent 268945d commit 04a97a9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,10 @@ RUN \
378378

379379
# Install Crowdsec OpenResty Bouncer.
380380
RUN \
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.

0 commit comments

Comments
 (0)