mirror of
https://github.com/frappe/frappe_docker.git
synced 2025-01-25 16:18:32 +00:00
Merge pull request #143 from revant/feat-bench-image
feat(bench): bash-completion
This commit is contained in:
commit
15d087059b
@ -25,9 +25,9 @@ RUN install_packages \
|
|||||||
tree \
|
tree \
|
||||||
nano \
|
nano \
|
||||||
software-properties-common \
|
software-properties-common \
|
||||||
|
bash-completion \
|
||||||
# For psycopg2
|
# For psycopg2
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
build-essential \
|
|
||||||
# Other
|
# Other
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
liblcms2-dev \
|
liblcms2-dev \
|
||||||
@ -39,7 +39,6 @@ RUN install_packages \
|
|||||||
redis-tools \
|
redis-tools \
|
||||||
rlwrap \
|
rlwrap \
|
||||||
tk8.6-dev \
|
tk8.6-dev \
|
||||||
fonts-cantarell \
|
|
||||||
# VSCode container requirements
|
# VSCode container requirements
|
||||||
net-tools \
|
net-tools \
|
||||||
# PYTHON
|
# PYTHON
|
||||||
@ -64,9 +63,9 @@ WORKDIR /home/frappe
|
|||||||
RUN pip3 install --user git+https://github.com/frappe/bench.git#egg=bench --no-cache
|
RUN pip3 install --user git+https://github.com/frappe/bench.git#egg=bench --no-cache
|
||||||
|
|
||||||
# Export python executables for Dockerfile
|
# Export python executables for Dockerfile
|
||||||
ENV PATH=/home/frappe/.local/bin/:$PATH
|
ENV PATH=/home/frappe/.local/bin:$PATH
|
||||||
# Export python executables for interactive shell
|
# Export python executables for interactive shell
|
||||||
RUN echo "export PATH=/home/frappe/.local/bin/:\$PATH" >> /home/frappe/.bashrc
|
RUN echo "export PATH=/home/frappe/.local/bin:\$PATH" >> /home/frappe/.bashrc
|
||||||
|
|
||||||
# Print version and verify bashrc is properly sourced so that everything works in the Dockerfile
|
# Print version and verify bashrc is properly sourced so that everything works in the Dockerfile
|
||||||
RUN bench --version
|
RUN bench --version
|
||||||
@ -108,6 +107,4 @@ RUN bash -c "node --version" \
|
|||||||
&& bash -c "npm --version" \
|
&& bash -c "npm --version" \
|
||||||
&& bash -c "yarn --version"
|
&& bash -c "yarn --version"
|
||||||
|
|
||||||
|
|
||||||
WORKDIR /home/frappe/frappe-bench
|
|
||||||
EXPOSE 8000 9000 6787
|
EXPOSE 8000 9000 6787
|
Loading…
x
Reference in New Issue
Block a user