Skip to content

Commit cb79415

Browse files
Fix images based on Debian Stretch, whose APT repositories have been moved to archive.debian.org
1 parent 2ab02ee commit cb79415

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ RUN set -eux; \
5858
;; \
5959
\
6060
debian|ubuntu) \
61-
# Fix Jessie APT sources (it has been moved to http://archive.debian.org)
61+
# Fix Jessie & Stretch APT sources (they have been moved to http://archive.debian.org)
6262
sed -i -r \
63-
-e '/jessie[-\/]updates/d' \
64-
-e 's|http://(deb\|httpredir).debian.org/debian jessie|http://archive.debian.org/debian jessie|' \
63+
-e '/(jessie|stretch)[-\/]updates/d' \
64+
-e 's|http://(deb\|httpredir).debian.org/debian (jessie\|stretch)|http://archive.debian.org/debian \2|' \
6565
/etc/apt/sources.list; \
6666
\
6767
# Detect Debian version

0 commit comments

Comments
 (0)