From d77993f400ff8e976d2b0d3dabdf3cd61888d36e Mon Sep 17 00:00:00 2001 From: martkaczmarek <31852710+martkaczmarek@users.noreply.github.com> Date: Fri, 22 May 2026 13:44:32 +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 452d5e50..e2cd4a78 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 /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 5e9aa1ff..f167e033 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 /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 9f7b39e6..860e131b 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 /home/frappe/frappe-bench/env/bin/pip install --no-cache-dir pycups; fi USER frappe