Skip to content
Snippets Groups Projects
Commit 0bd5017e authored by Dorch's avatar Dorch
Browse files

chore: update DockerFile

parent c636a8f1
No related branches found
No related tags found
1 merge request!252release: version 4.18.0
Pipeline #157607 failed
FROM debian:bullseye FROM docker.io/node:18-bookworm-slim
LABEL maintainer="bug@cassiopee.g-eau.fr" LABEL maintainer="bug@cassiopee.g-eau.fr"
LABEL version="3.0" LABEL version="3.1"
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
# base packages # Install base packages
RUN dpkg --add-architecture i386 \ RUN apt-get update \
&& apt-get update \ && apt-get install -y --no-install-recommends \
&& apt-get install -y \ locales \
locales \ curl \
curl \ build-essential \
build-essential \ wget \
wget \ ca-certificates \
git \ gnupg \
rsync git \
rsync \
# UTF-8 locale && apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Set UTF-8 locale
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \ RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
&& locale-gen && locale-gen
ENV LANG en_US.UTF-8 ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8 ENV LC_ALL en_US.UTF-8
# LateX # Add Repositories
RUN apt-get install -y texlive-lang-french texlive-xetex
## Wine
# setup nodejs repository (source.list) and install nodejs RUN dpkg --add-architecture i386 \
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - \ && wget -nc https://dl.winehq.org/wine-builds/winehq.key \
&& apt-get update \ && apt-key add winehq.key \
&& apt-get install -y \ && echo "deb https://dl.winehq.org/wine-builds/debian/ bookworm main" > /etc/apt/sources.list.d/winehq.list
nodejs
# Install packages
# python3 RUN apt-get update \
RUN apt-get install -y \ && apt-get install -y --no-install-recommends \
python3 \ ## MkDocs
python3-pip \ mkdocs \
python3-setuptools \ python3-mdx-math \
&& python3 -m pip install mkdocs python-markdown-math mkdocs-material mkdocs-material-extensions \
## Pandoc & LaTeX for PDF doc
# chromium and procps (e2e) pandoc \
RUN apt-get install -y chromium chromium-driver procps texlive \
latexmk \
# pandoc & LaTeX for PDF doc texlive-latex-extra \
RUN apt-get install -y \ texlive-bibtex-extra \
pandoc \ texlive-lang-french \
texlive \ texlive-xetex \
latexmk \ ## Wine
texlive-latex-extra \ winehq-stable \
texlive-bibtex-extra ## chromium and procps (e2e)
chromium chromium-driver procps \
# wine ## Clean cache
RUN wget -nc https://dl.winehq.org/wine-builds/winehq.key \ && \
&& apt-key add winehq.key \ apt-get clean && \
&& echo "deb https://dl.winehq.org/wine-builds/debian/ bullseye main" > /etc/apt/sources.list.d/winehq.list \ rm -rf /var/lib/apt/lists/*
&& dpkg --add-architecture i386 \
&& apt-get update \
&& apt-get install -y --install-recommends winehq-stable
WORKDIR /build WORKDIR /build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment