fix(bench): Set BENCH_DEVELOPER
env var in bashrc instead of Dockerfile (#598)
This commit is contained in:
parent
442c767338
commit
6378473c43
@ -94,10 +94,10 @@ RUN git clone --depth 1 https://github.com/pyenv/pyenv.git .pyenv \
|
|||||||
ENV PATH /home/frappe/.local/bin:$PATH
|
ENV PATH /home/frappe/.local/bin:$PATH
|
||||||
# Skip editable-bench warning
|
# Skip editable-bench warning
|
||||||
# https://github.com/frappe/bench/commit/20560c97c4246b2480d7358c722bc9ad13606138
|
# https://github.com/frappe/bench/commit/20560c97c4246b2480d7358c722bc9ad13606138
|
||||||
ENV BENCH_DEVELOPER 1
|
|
||||||
RUN git clone ${GIT_REPO} --depth 1 -b ${GIT_BRANCH} .bench \
|
RUN git clone ${GIT_REPO} --depth 1 -b ${GIT_BRANCH} .bench \
|
||||||
&& pip install --user -e .bench \
|
&& pip install --user -e .bench \
|
||||||
&& echo "export PATH=/home/frappe/.local/bin:\$PATH" >> /home/frappe/.bashrc
|
&& echo "export PATH=/home/frappe/.local/bin:\$PATH" >>/home/frappe/.bashrc \
|
||||||
|
&& echo "export BENCH_DEVELOPER=1" >>/home/frappe/.bashrc
|
||||||
|
|
||||||
# Install Node via nvm
|
# Install Node via nvm
|
||||||
ENV NODE_VERSION=14.18.1
|
ENV NODE_VERSION=14.18.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user