From 81ba1fa5e44346095583ad2f1847fa8d332c5f62 Mon Sep 17 00:00:00 2001 From: KevinFaro <132339561+KevinFaro@users.noreply.github.com> Date: Thu, 26 Feb 2026 13:48:24 +0200 Subject: [PATCH] arg for specific bench version --- images/custom/Containerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 \