File tree Expand file tree Collapse file tree 1 file changed +7
-18
lines changed Expand file tree Collapse file tree 1 file changed +7
-18
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,10 @@ FROM python:3.13-slim
3
3
4
4
RUN usermod -d /home www-data \
5
5
&& chown www-data:www-data /home \
6
- # -slim images strip man dirs, but java won't install unless this dir exists.
7
- && mkdir -p /usr/share/man/man1 \
8
- && echo "deb http://deb.debian.org/debian bookworm-backports main" > /etc/apt/sources.list.d/backports.list \
9
- && apt-get update \
10
- # HACK: work around bug in install java (dep of libreoffice)
11
- && apt-get install -y ca-certificates-java \
6
+ && apt-get update
7
+
12
8
# mfr dependencies
13
- && apt-get install -y \
9
+ RUN apt-get install -y \
14
10
git \
15
11
make \
16
12
gcc \
@@ -32,17 +28,10 @@ RUN usermod -d /home www-data \
32
28
# pspp dependencies
33
29
pspp \
34
30
# grab gosu for easy step-down from root
35
- gosu \
36
- # unoconv dependencies
37
- && apt-get -t bookworm-backports install -y \
38
- libreoffice-core \
39
- libreoffice-writer \
40
- libreoffice-calc \
41
- libreoffice-impress \
42
- libreoffice-java-common \
43
- && apt-get clean \
44
- && apt-get autoremove -y \
45
- && rm -rf /var/lib/apt/lists/*
31
+ gosu
32
+ RUN apt-get clean
33
+ RUN apt-get autoremove -y
34
+ RUN rm -rf /var/lib/apt/lists/*
46
35
47
36
RUN mkdir -p /code
48
37
WORKDIR /code
You can’t perform that action at this time.
0 commit comments