diff --git a/build/.docker/standalone.bake.Dockerfile b/build/.docker/standalone.bake.Dockerfile index 3e4b48e3d9..39d449bda1 100644 --- a/build/.docker/standalone.bake.Dockerfile +++ b/build/.docker/standalone.bake.Dockerfile @@ -26,10 +26,24 @@ ENV EO_CONF=${EO_CONF} ENV COMPANY_NAME_LOW=${COMPANY_NAME_LOW} ENV PRODUCT_NAME_LOW=${PRODUCT_NAME_LOW} + +#### Hotfix: nginx 1.24.0-2ubuntu7.10 broke editors, +#### pin only nginx to 1.24.0-2ubuntu7.9 from the snapshot and hold it +ARG APT_SNAPSHOT=20260602T120000Z RUN apt-get -y update && \ - ACCEPT_EULA=Y apt-get -yq install \ + apt-get -yq install ca-certificates && \ + sed -i '/^Suites:/a Snapshot: '"${APT_SNAPSHOT}" /etc/apt/sources.list.d/ubuntu.sources && \ + apt-get -y update && \ + apt-get -yq install --allow-downgrades nginx=1.24.0-2ubuntu7.9 nginx-extras=1.24.0-2ubuntu7.9 && \ + apt-mark hold nginx nginx-extras && \ + sed -i '/^Snapshot:/d' /etc/apt/sources.list.d/ubuntu.sources && \ + apt-get -y update +#### End hotfix + + +RUN ACCEPT_EULA=Y apt-get -yq install \ postgresql postgresql-client redis-server rabbitmq-server \ - nginx sudo gdb nginx-extras supervisor jq util-linux \ + sudo gdb supervisor jq util-linux \ netcat-openbsd xxd openssl && \ rm -rf /var/lib/apt/lists/*