diff --git a/images/custom/Containerfile b/images/custom/Containerfile index eefa4e6c..8d56c673 100644 --- a/images/custom/Containerfile +++ b/images/custom/Containerfile @@ -8,6 +8,7 @@ COPY resources/core/nginx/nginx-entrypoint.sh /usr/local/bin/nginx-entrypoint.sh ARG WKHTMLTOPDF_VERSION=0.12.6.1-3 ARG WKHTMLTOPDF_DISTRO=bookworm ARG NODE_VERSION=24.13.0 +ARG BENCH_VERSION=5.27.0 ENV NVM_DIR=/home/frappe/.nvm ENV PATH=${NVM_DIR}/versions/node/v${NODE_VERSION}/bin/:${PATH} @@ -63,7 +64,7 @@ RUN useradd -ms /bin/bash frappe \ # Clean up && rm -rf /var/lib/apt/lists/* \ && rm -fr /etc/nginx/sites-enabled/default \ - && pip3 install frappe-bench \ + && pip3 install frappe-bench==${BENCH_VERSION} \ # Fixes for non-root nginx and logs to stdout && sed -i '/user www-data/d' /etc/nginx/nginx.conf \ && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log \