mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 15:55:09 +00:00
please work...
This commit is contained in:
parent
211ec5643d
commit
52a4cf3c18
2 changed files with 4 additions and 1 deletions
|
|
@ -15,6 +15,9 @@ RUN apt-get update && apt-get install -y --no-install-suggests --no-install-reco
|
||||||
iputils-ping python-dev python-pip python-setuptools python-tk redis-tools rlwrap software-properties-common sudo tk8.6-dev \
|
iputils-ping python-dev python-pip python-setuptools python-tk redis-tools rlwrap software-properties-common sudo tk8.6-dev \
|
||||||
vim xfonts-75dpi xfonts-base wget wkhtmltopdf \
|
vim xfonts-75dpi xfonts-base wget wkhtmltopdf \
|
||||||
&& apt-get clean && rm -rf /var/lib/apt/lists/* \
|
&& apt-get clean && rm -rf /var/lib/apt/lists/* \
|
||||||
|
&& echo "LC_ALL=en_US.UTF-8" >> /etc/environment \
|
||||||
|
&& echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen \
|
||||||
|
&& echo "LANG=en_US.UTF-8" > /etc/locale.conf \
|
||||||
&& locale-gen en_US.UTF-8 \
|
&& locale-gen en_US.UTF-8 \
|
||||||
&& curl https://deb.nodesource.com/node_10.x/pool/main/n/nodejs/nodejs_10.10.0-1nodesource1_amd64.deb > node.deb \
|
&& curl https://deb.nodesource.com/node_10.x/pool/main/n/nodejs/nodejs_10.10.0-1nodesource1_amd64.deb > node.deb \
|
||||||
&& dpkg -i node.deb \
|
&& dpkg -i node.deb \
|
||||||
|
|
|
||||||
2
dbench
2
dbench
|
|
@ -28,7 +28,7 @@ elif [[ "$1" == 'setup' ]]; then
|
||||||
a="${a//$'\n'/ }"
|
a="${a//$'\n'/ }"
|
||||||
a=$(echo "$a" | tr -d / )
|
a=$(echo "$a" | tr -d / )
|
||||||
result="127.0.0.1 ${a}"
|
result="127.0.0.1 ${a}"
|
||||||
run root "echo ${result} | tee --append /etc/hosts"
|
run root "echo ${result} | tee -a /etc/hosts"
|
||||||
else
|
else
|
||||||
IFS=" "
|
IFS=" "
|
||||||
run frappe "bench $*"
|
run frappe "bench $*"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue