From 9b49391dbb08873310223817df6a3b68e0b55911 Mon Sep 17 00:00:00 2001 From: Lev Date: Thu, 2 Dec 2021 18:06:07 +0300 Subject: [PATCH] feat(bench): Don't show editable-bench warnings (#593) --- build/bench/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/bench/Dockerfile b/build/bench/Dockerfile index a2df40a1..508b9e4d 100644 --- a/build/bench/Dockerfile +++ b/build/bench/Dockerfile @@ -92,6 +92,9 @@ RUN git clone --depth 1 https://github.com/pyenv/pyenv.git .pyenv \ # Clone and install bench in the local user home directory # For development, bench source is located in ~/.bench ENV PATH /home/frappe/.local/bin:$PATH +# Skip editable-bench warning +# https://github.com/frappe/bench/commit/20560c97c4246b2480d7358c722bc9ad13606138 +ENV BENCH_DEVELOPER 1 RUN git clone ${GIT_REPO} --depth 1 -b ${GIT_BRANCH} .bench \ && pip install --user -e .bench \ && echo "export PATH=/home/frappe/.local/bin:\$PATH" >> /home/frappe/.bashrc