Skip to content

Commit 826c74b

Browse files
update base image (0.4 -> 0.5)
1 parent dd10294 commit 826c74b

File tree

2 files changed

+5
-13
lines changed

2 files changed

+5
-13
lines changed

Dockerfile

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ RUN npm install && npm install webpack
77
ADD ./assets ./assets
88
RUN npm run build
99

10-
FROM dvivanov/dis-base:v0.4
10+
FROM dvivanov/dis-base:v0.5
1111

1212
LABEL project='dis'
13-
LABEL version='0.4'
13+
LABEL version='0.5'
1414

1515
WORKDIR /usr/src/project
1616

@@ -21,13 +21,4 @@ COPY --from=frontend_build /app/src ./src/
2121

2222
ENV PYTHONPATH "${PYTHONPATH}:/usr/src/project/app"
2323

24-
RUN apt update && apt install -y texlive-latex-base \
25-
texlive-fonts-recommended \
26-
texlive-lang-cyrillic \
27-
texlive-xetex \
28-
latexmk \
29-
biber \
30-
python3-pygments \
31-
fonts-liberation
32-
3324
CMD ./scripts/local_start.sh

Dockerfile_base

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
FROM python:3.10-slim-bullseye
22

33
LABEL project='dis'
4-
LABEL version='0.4-base'
4+
LABEL version='0.5-base'
55

66
ENV LANG en_US.UTF-8
77
ENV TZ=Europe/Moscow
88

99
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
1010

11-
RUN apt update && apt install -y libreoffice-writer libreoffice-impress default-jre texlive-latex-base texlive-fonts-recommended texlive-lang-cyrillic texlive-xetex latexmk biber python3-pygments
11+
RUN apt update && apt install -y libreoffice-writer libreoffice-impress default-jre \
12+
texlive-latex-base texlive-fonts-recommended texlive-lang-cyrillic texlive-xetex latexmk biber python3-pygments fonts-liberation
1213

1314
ADD requirements.txt .
1415
RUN python3 -m pip install -r requirements.txt --no-cache-dir

0 commit comments

Comments
 (0)