Skip to content

Commit

Permalink
chore: mise à jour des version du docker
Browse files Browse the repository at this point in the history
  • Loading branch information
gBusato committed Oct 7, 2024
1 parent 300f9f3 commit 786cafe
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions reverse_proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG NGINX_VERSION="1.20.2"
ARG NGINX_VERSION="1.27.2"
FROM nginx:${NGINX_VERSION} as nginxModules

ARG HEADERS_MORE_VERSION="v0.33"
ARG HEADERS_MORE_VERSION="v0.37"

RUN set -eux; \
apt-get update; \
Expand All @@ -14,9 +14,9 @@ RUN set -eux; \
libcurl4-gnutls-dev \
libgeoip-dev \
liblua5.3-dev \
libpcre++-dev \
libtool \
libxml2-dev \
libpcre3-dev \
make \
ruby \
pkg-config \
Expand All @@ -38,10 +38,11 @@ RUN set -eux; \
cp objs/ngx_http_headers_more_filter_module.so /etc/nginx/modules/;


FROM owasp/modsecurity-crs:3.3.2-nginx
FROM owasp/modsecurity-crs:nginx

RUN apt-get update \
&& apt-get install -y logrotate
USER root

RUN apt-get update && apt-get install -y logrotate

COPY --from=nginxModules /etc/nginx/modules/ngx_http_headers_more_filter_module.so /etc/nginx/modules/ngx_http_headers_more_filter_module.so

Expand Down

0 comments on commit 786cafe

Please sign in to comment.