Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
FROM debian:bullseye
LABEL maintainer="bug@cassiopee.g-eau.fr"
LABEL version="3.0"
ENV DEBIAN_FRONTEND noninteractive
# base packages
RUN dpkg --add-architecture i386 \
&& apt-get update \
&& apt-get install -y \
locales \
curl \
build-essential \
wget \
git \
rsync
# UTF-8 locale
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
&& locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
# LateX
RUN apt-get install -y texlive-lang-french texlive-xetex
# setup nodejs repository (source.list) and install nodejs
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash - \
&& apt-get update \
&& apt-get install -y \
nodejs
# python3
RUN apt-get install -y \
python3 \
python3-pip \
python3-setuptools \
&& python3 -m pip install mkdocs python-markdown-math mkdocs-material
# chromium and procps (e2e)
RUN apt-get install -y chromium chromium-driver procps
# pandoc & LaTeX for PDF doc
RUN apt-get install -y \
pandoc \
texlive \
latexmk \
texlive-latex-extra \
texlive-bibtex-extra
# wine
RUN wget -nc https://dl.winehq.org/wine-builds/winehq.key \
&& apt-key add winehq.key \
&& echo "deb https://dl.winehq.org/wine-builds/debian/ bullseye main" > /etc/apt/sources.list.d/winehq.list \
&& dpkg --add-architecture i386 \
&& apt-get update \
&& apt-get install -y --install-recommends winehq-stable
WORKDIR /build
ENV SHELL /bin/bash