diff --git a/build/Dockerfile b/build/Dockerfile index c52caced1b..25983bcefb 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1.5 ARG BUILD_OS=debian -ARG NGINX_PLUS_VERSION=R28 +ARG NGINX_PLUS_VERSION=R29 ARG DOWNLOAD_TAG=edge @@ -93,16 +93,14 @@ RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode && printf "%s\n" "deb https://pkgs.nginx.com/app-protect/${NGINX_PLUS_VERSION}/debian ${DEBIAN_VERSION} nginx-plus" \ "deb https://pkgs.nginx.com/app-protect-security-updates/debian ${DEBIAN_VERSION} nginx-plus" > /etc/apt/sources.list.d/nginx-app-protect.list \ && apt-get update \ - && apt-get install --no-install-recommends --no-install-suggests -y app-protect app-protect-attack-signatures app-protect-threat-campaigns \ - # NAP DoS depends on curl so we can't remove it a the end - && apt-get purge --auto-remove -y curl; \ + && apt-get install --no-install-recommends --no-install-suggests -y app-protect app-protect-attack-signatures app-protect-threat-campaigns; \ fi \ && if [ -z "${NAP_MODULES##*dos*}" ]; then \ printf "%s\n" "deb https://pkgs.nginx.com/app-protect-dos/${NGINX_PLUS_VERSION}/debian ${DEBIAN_VERSION} nginx-plus" > /etc/apt/sources.list.d/nginx-app-protect-dos.list \ && apt-get update \ && apt-get install --no-install-recommends --no-install-suggests -y app-protect-dos; \ fi \ - && apt-get purge --auto-remove -y apt-transport-https gnupg \ + && apt-get purge --auto-remove -y apt-transport-https gnupg curl \ && rm -rf /var/lib/apt/lists/* \ && rm /etc/apt/sources.list.d/nginx-app-protect*.list