Install Crowdsec OpenResty Bouncer directly into the docker image.

Config files and templates are saved in /defaults/crowdsec A script in the main docker image will handle deployment.
This commit is contained in:
Brian Munro
2022-02-22 08:55:22 +02:00
parent ac76802af4
commit b4804e6faf
4 changed files with 28 additions and 1 deletions
+3 -1
View File
@@ -73,8 +73,10 @@ COPY --from=nginxbuilder /tmp/openresty /tmp/openresty
COPY ./scripts/install-openresty /tmp/install-openresty
ARG OPENRESTY_VERSION
ARG CROWDSEC_OPENRESTY_BOUNCER_VERSION
ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt \
OPENRESTY_VERSION=${OPENRESTY_VERSION}
OPENRESTY_VERSION=${OPENRESTY_VERSION} \
CROWDSEC_OPENRESTY_BOUNCER_VERSION=${CROWDSEC_OPENRESTY_BOUNCER_VERSION}
# Install openresty, lua, then clean up file system
RUN apt-get update \