From 94aa96c624b251ecc39b9bfb8db94af707c1e90b Mon Sep 17 00:00:00 2001 From: martkaczmarek <31852710+martkaczmarek@users.noreply.github.com> Date: Fri, 22 May 2026 13:41:41 +0200 Subject: [PATCH] Pycups env and install --- images/bench/Dockerfile | 2 +- images/custom/Containerfile | 2 +- images/production/Containerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/images/bench/Dockerfile b/images/bench/Dockerfile index eec017eb..452d5e50 100644 --- a/images/bench/Dockerfile +++ b/images/bench/Dockerfile @@ -155,7 +155,7 @@ RUN wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.5/install.sh | && echo '[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion' >> ~/.bashrc # Install pycups -RUN if [ "$INSTALL_PYCUPS" != "false" ]; then RUN /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi \ +RUN if [ "$INSTALL_PYCUPS" != "false" ]; then RUN /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi EXPOSE 8000-8005 9000-9005 6787 diff --git a/images/custom/Containerfile b/images/custom/Containerfile index 176388a2..5e9aa1ff 100644 --- a/images/custom/Containerfile +++ b/images/custom/Containerfile @@ -123,7 +123,7 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # Install pycups -RUN if [ "$INSTALL_PYCUPS" != "false" ]; then RUN /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi \ +RUN if [ "$INSTALL_PYCUPS" != "false" ]; then RUN /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi USER frappe diff --git a/images/production/Containerfile b/images/production/Containerfile index afebfef6..9f7b39e6 100644 --- a/images/production/Containerfile +++ b/images/production/Containerfile @@ -115,7 +115,7 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* # Install pycups -RUN if [ "$INSTALL_PYCUPS" != "false" ]; then RUN /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi \ +RUN if [ "$INSTALL_PYCUPS" != "false" ]; then RUN /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi USER frappe