Actualizacion DockerFIle Fonts Microsoft
Some checks failed
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Failing after 7m22s
Some checks failed
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Failing after 7m22s
This commit is contained in:
parent
0fa8d98fca
commit
2e2a1c4b37
@ -10,14 +10,26 @@ EXPOSE 8081
|
|||||||
# Instalación de Node.js en la fase base (si lo necesitas para el contenedor final)
|
# Instalación de Node.js en la fase base (si lo necesitas para el contenedor final)
|
||||||
#RUN apt-get update && apt-get install -y nodejs npm
|
#RUN apt-get update && apt-get install -y nodejs npm
|
||||||
|
|
||||||
# Instalación de Chromium y dependencias en la imagen base
|
# Instalación de Chromium y fuentes requeridas para PDF con acentos
|
||||||
|
USER root
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y wget gnupg2 ca-certificates fonts-liberation fonts-dejavu libappindicator3-1 libasound2 \
|
apt-get install -y --no-install-recommends \
|
||||||
libatk-bridge2.0-0 libatk1.0-0 libcups2 libdbus-1-3 libgdk-pixbuf2.0-0 libnspr4 \
|
wget gnupg2 ca-certificates \
|
||||||
libnss3 libx11-xcb1 libxcomposite1 libxdamage1 libxrandr2 xdg-utils chromium && \
|
fonts-liberation \
|
||||||
|
fonts-dejavu-core \
|
||||||
|
fonts-dejavu-extra \
|
||||||
|
libappindicator3-1 libasound2 \
|
||||||
|
libatk-bridge2.0-0 libatk1.0-0 libcups2 libdbus-1-3 \
|
||||||
|
libgdk-pixbuf2.0-0 libnspr4 libnss3 libx11-xcb1 \
|
||||||
|
libxcomposite1 libxdamage1 libxrandr2 xdg-utils chromium \
|
||||||
|
debconf fontconfig && \
|
||||||
|
echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | debconf-set-selections && \
|
||||||
|
apt-get install -y --no-install-recommends ttf-mscorefonts-installer && \
|
||||||
|
fc-cache -f && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
ENV CHROME_BIN=/usr/bin/chromium
|
ENV CHROME_BIN=/usr/bin/chromium
|
||||||
|
|
||||||
USER app
|
USER app
|
||||||
|
|
||||||
# Esta fase se usa para compilar el proyecto de servicio
|
# Esta fase se usa para compilar el proyecto de servicio
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user