2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-23 10:38:58 +00:00

feat(bench): Don't show editable-bench warnings (#593)

This commit is contained in:
Lev 2021-12-02 18:06:07 +03:00 committed by GitHub
parent c87ee80a22
commit 9b49391dbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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