mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-19 06:35:10 +00:00
what about like this?
This commit is contained in:
parent
5764b22856
commit
8040ac3d3a
1 changed files with 4 additions and 6 deletions
10
Dockerfile
10
Dockerfile
|
|
@ -4,18 +4,16 @@ FROM debian:9.6-slim
|
|||
LABEL author=frappé
|
||||
|
||||
# Set locale en_us.UTF-8 for mariadb and general locale data
|
||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-suggests --no-install-recommends locales \
|
||||
&& sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
|
||||
&& dpkg-reconfigure --frontend=noninteractive locales \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
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
|
||||
RUN apt-get update && apt-get install -y --no-install-suggests --no-install-recommends build-essential cron curl git \
|
||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-suggests --no-install-recommends locales \
|
||||
&& sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
|
||||
&& dpkg-reconfigure --frontend=noninteractive locales \
|
||||
&& apt-get install -y --no-install-suggests --no-install-recommends build-essential cron curl git \
|
||||
libffi-dev liblcms2-dev libldap2-dev libmariadbclient-dev libsasl2-dev libssl-dev libtiff5-dev libwebp-dev mariadb-client \
|
||||
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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue