@@ -140,7 +140,7 @@ RUN --mount=type=bind,from=alpine-fips-3.17,target=/tmp/fips/ \
140
140
&& cp -av /tmp/fips/etc/ssl/openssl.cnf /etc/ssl/openssl.cnf \
141
141
&& cp -av /tmp/ot/usr/local/lib/libjaegertracing*so* /tmp/ot/usr/local/lib/libzipkin*so* /tmp/ot/usr/local/lib/libdd*so* /tmp/ot/usr/local/lib/libyaml*so* /usr/local/lib/ \
142
142
&& ldconfig /usr/local/lib/ \
143
- && apk add --no-cache app-protect app-protect-attack-signatures app-protect-threat-campaigns
143
+ && apk add --no-cache app-protect=~31.4.815 app-protect-attack-signatures app-protect-threat-campaigns
144
144
145
145
146
146
# ############################################ Base image for Debian with NGINX Plus #############################################
@@ -200,7 +200,7 @@ RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode
200
200
# # end of duplicated code
201
201
&& if [ -z "${NGINX_AGENT##true}" ]; then apt-get install --no-install-recommends --no-install-suggests -y nginx-agent; fi \
202
202
&& if [ -z "${NAP_MODULES##*waf*}" ]; then \
203
- apt-get install --no-install-recommends --no-install-suggests -y app-protect app-protect-attack-signatures app-protect-threat-campaigns; \
203
+ apt-get install --no-install-recommends --no-install-suggests -y app-protect=31+4.815* app-protect-attack-signatures app-protect-threat-campaigns; \
204
204
fi \
205
205
&& if [ -z "${NAP_MODULES##*dos*}" ]; then \
206
206
apt-get install --no-install-recommends --no-install-suggests -y app-protect-dos; \
@@ -276,7 +276,7 @@ RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode
276
276
&& dnf --nodocs install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \
277
277
&& rpm --import /tmp/app-protect-security-updates.key \
278
278
&& if [ -z "${NAP_MODULES##*waf*}" ]; then \
279
- dnf --nodocs install -y app-protect app-protect-attack-signatures app-protect-threat-campaigns; \
279
+ dnf --nodocs install -y app-protect-31+4.815* app-protect-attack-signatures app-protect-threat-campaigns; \
280
280
fi \
281
281
# fix for CVEs
282
282
&& dnf upgrade -y curl ncurses \
@@ -324,7 +324,7 @@ RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode
324
324
&& dnf --nodocs install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
325
325
&& rpm --import /tmp/app-protect-security-updates.key \
326
326
&& if [ -z "${NAP_MODULES##*waf*}" ]; then \
327
- dnf --nodocs install -y app-protect app-protect-attack-signatures app-protect-threat-campaigns; \
327
+ dnf --nodocs install -y app-protect-31+4.815* app-protect-attack-signatures app-protect-threat-campaigns; \
328
328
fi \
329
329
&& if [ -z "${NAP_MODULES##*dos*}" ]; then \
330
330
dnf --nodocs install -y app-protect-dos; \
0 commit comments