Skip to content

Commit d1db0c3

Browse files
committed
unix: update Debian snapshot version
Let's stay modern. This pulls in the last published snapshot for Jessie and Stretch.
1 parent 8c4f568 commit d1db0c3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cpython-unix/base.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ CMD ["/bin/bash", "--login"]
1818
WORKDIR '/build'
1919

2020
# Jessie's signing keys expired in late 2022. So need to add [trusted=yes] to force trust.
21+
# Jessie stopped publishing snapshots in March 2023.
2122
RUN for s in debian_jessie debian_jessie-updates debian-security_jessie/updates; do \
22-
echo "deb [trusted=yes] http://snapshot.debian.org/archive/${s%_*}/20221105T150728Z/ ${s#*_} main"; \
23+
echo "deb [trusted=yes] http://snapshot.debian.org/archive/${s%_*}/20230322T152120Z/ ${s#*_} main"; \
2324
done > /etc/apt/sources.list && \
2425
( echo 'quiet "true";'; \
2526
echo 'APT::Get::Assume-Yes "true";'; \

cpython-unix/build.cross.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ ENV HOME=/build \
1717
CMD ["/bin/bash", "--login"]
1818
WORKDIR '/build'
1919

20+
# Stretch stopped publishing snapshots in April 2023.
2021
RUN for s in debian_stretch debian_stretch-updates debian-security_stretch/updates; do \
21-
echo "deb http://snapshot.debian.org/archive/${s%_*}/20221105T150728Z/ ${s#*_} main"; \
22+
echo "deb http://snapshot.debian.org/archive/${s%_*}/20230423T032533Z/ ${s#*_} main"; \
2223
done > /etc/apt/sources.list && \
2324
( echo 'quiet "true";'; \
2425
echo 'APT::Get::Assume-Yes "true";'; \

0 commit comments

Comments
 (0)