Skip to content

Commit 1d4aec9

Browse files
hide24fujimotodaisuke
authored andcommitted
Merge pull request #7 from yacchin1205/fix/debian-buster-archive-repo
[GRDM-55759] Fix Debian Buster EOL issue by switching to archive repositories
1 parent 32578a6 commit 1d4aec9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ FROM python:3.5-slim-buster
33
# ensure unoconv can locate the uno library
44
ENV PYTHONPATH /usr/lib/python3/dist-packages
55

6-
RUN usermod -d /home www-data \
6+
RUN echo "deb https://archive.debian.org/debian buster main" > /etc/apt/sources.list \
7+
&& echo "deb https://archive.debian.org/debian-security buster/updates main" >> /etc/apt/sources.list \
8+
&& usermod -d /home www-data \
79
&& chown www-data:www-data /home \
810
# -slim images strip man dirs, but java won't install unless this dir exists.
911
&& mkdir -p /usr/share/man/man1 \

0 commit comments

Comments
 (0)