Add additional configurations to image

This commit is contained in:
Sergio Morillo 2021-10-14 17:33:56 +02:00
parent e9a1a67da0
commit 9085087dc8

View file

@ -22,12 +22,20 @@ ENV USER="trytond"
ENV HOME_DIR="/home/${USER}"
ENV WORK_DIR="${HOME_DIR}/tryton"
# Copy fonts
USER root
# Copy fonts
RUN mkdir /usr/local/share/fonts/tryton
COPY fonts/ /usr/local/share/fonts/tryton/
RUN fc-cache -fv
# Install java for Jasper reports
#RUN apt-get update \
# && apt-get install -y --no-install-recommends \
# default-jdk
# Change TLSv1.0
#RUN sed -i 's/TLSv1.2/TLSv1.0/g' /etc/ssl/openssl.cnf
USER ${USER}
# Copy files