File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ RUN echo "deb http://archive.debian.org/debian/ buster main" > /etc/apt/sources.
1616# TODO install_packages calls apt-get update and then nukes the list files after. We should avoid multiple calls to apt-get update.....
1717# We could probably fix this by running the update and installs ourself with `RUN --mount type=cache` but that is "experimental"
1818
19+ # Fix for Debian Buster EOL - point to archive repositories
20+ RUN sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list && \
21+ sed -i 's/security.debian.org/archive.debian.org/g' /etc/apt/sources.list && \
22+ sed -i '/buster-updates/d' /etc/apt/sources.list
23+
1924RUN install_packages apt-transport-https gnupg2 ca-certificates
2025COPY .docker/apt/keys/nodesource.gpg /
2126RUN apt-key add /nodesource.gpg
You can’t perform that action at this time.
0 commit comments