mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-22 15:55:09 +00:00
so it didn't work...
This commit is contained in:
parent
c5c84bf928
commit
4c7be00514
1 changed files with 9 additions and 6 deletions
15
Dockerfile
15
Dockerfile
|
|
@ -3,6 +3,11 @@
|
||||||
FROM debian:9.6-slim
|
FROM debian:9.6-slim
|
||||||
LABEL author=frappé
|
LABEL author=frappé
|
||||||
|
|
||||||
|
# Set locale en_us.UTF-8 for mariadb and general locale data
|
||||||
|
ENV PYTHONIOENCODING=utf-8
|
||||||
|
ENV LANGUAGE=en_US.UTF-8
|
||||||
|
ENV LANG=en_US.UTF-8
|
||||||
|
ENV LC_ALL=en_US.UTF-8
|
||||||
|
|
||||||
# Install all neccesary packages
|
# Install all neccesary packages
|
||||||
RUN apt-get update && apt-get install -y --no-install-suggests --no-install-recommends build-essential cron curl git locales \
|
RUN apt-get update && apt-get install -y --no-install-suggests --no-install-recommends build-essential cron curl git locales \
|
||||||
|
|
@ -10,17 +15,15 @@ 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 \
|
||||||
&& 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 \
|
||||||
&& rm node.deb \
|
&& rm node.deb \
|
||||||
&& npm install -g yarn
|
&& npm install -g yarn
|
||||||
|
|
||||||
# Set locale en_us.UTF-8 for mariadb and general locale data
|
|
||||||
ENV PYTHONIOENCODING=utf-8
|
|
||||||
ENV LANGUAGE=en_US.UTF-8
|
|
||||||
ENV LANG=en_US.UTF-8
|
|
||||||
ENV LC_ALL=en_US.UTF-8
|
|
||||||
RUN locale-gen en_US.UTF-8
|
|
||||||
|
|
||||||
# Add frappe user and setup sudo
|
# Add frappe user and setup sudo
|
||||||
RUN groupadd -g 500 frappe \
|
RUN groupadd -g 500 frappe \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue