mirror of
https://github.com/frappe/frappe_docker.git
synced 2024-11-09 23:00:56 +00:00
43 lines
1.3 KiB
Docker
43 lines
1.3 KiB
Docker
|
|
#bench Dockerfile
|
|
|
|
FROM ubuntu:16.04
|
|
MAINTAINER Vishal Seshagiri
|
|
|
|
USER root
|
|
RUN apt-get update
|
|
RUN apt-get install -y iputils-ping
|
|
RUN apt-get install -y git build-essential python-setuptools python-dev libffi-dev libssl-dev
|
|
RUN apt-get install -y redis-tools software-properties-common libxrender1 libxext6 xfonts-75dpi xfonts-base
|
|
RUN apt-get install -y libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev python-tk apt-transport-https libsasl2-dev libldap2-dev libtiff5-dev tcl8.6-dev tk8.6-dev
|
|
RUN apt-get install -y wget
|
|
RUN wget https://bootstrap.pypa.io/get-pip.py && python get-pip.py
|
|
RUN pip install --upgrade setuptools pip
|
|
RUN useradd -ms /bin/bash frappe
|
|
RUN apt-get install -y curl
|
|
RUN apt-get install -y rlwrap
|
|
RUN apt-get install redis-server
|
|
RUN apt-get install -y nano
|
|
|
|
|
|
#nodejs
|
|
RUN apt-get install curl
|
|
RUN curl https://deb.nodesource.com/node_6.x/pool/main/n/nodejs/nodejs_6.7.0-1nodesource1~xenial1_amd64.deb > node.deb \
|
|
&& dpkg -i node.deb \
|
|
&& rm node.deb
|
|
RUN apt-get install -y wkhtmltopdf
|
|
|
|
USER frappe
|
|
WORKDIR /home/frappe
|
|
|
|
USER root
|
|
RUN cd /home/frappe
|
|
|
|
#USER root
|
|
#RUN pip install -e bench-repo
|
|
#RUN apt-get install -y libmysqlclient-dev mariadb-client mariadb-common
|
|
#RUN chown -R frappe:frappe /home/frappe
|
|
|
|
#USER frappe
|
|
#RUN bench init frappe-bench && cd frappe-bench
|