Skip to content

Commit 38e7f03

Browse files
committed
unix: upgrade Linux build environment from Debian Wheezy to Jessie
I am no longer able to run Debian Wheezy Docker images on my machine because vsyscall support is no longer enabled after a recent distro upgrade. This was a long time coming: vsyscall support is effectively dead in modern Linux distros. This commit upgrades our Linux build environment from Debian Wheezy to Jessie (Debian 7 to 8). Debian Jessie doesn't rely on vsyscall and people on modern distros should be able to use its Docker images. The user-facing impact of this change is that glibc in the build environment has been upgraded from 2.13 to 2.19 and glibc symbol versions in produced binaries now require glibc >= 2.19 on the end-user machine. This effectively changes the host machine requirements for various Linux distros: * Fedora 16 -> Fedora 21 (released December 2014) * RHEL/CentOS 6 -> 7 (released June 2014) * openSUSE 12.1 -> 13.2 (released November 2014) * Debian 7 -> 8 (released April 2015) * Ubuntu 12.04 -> 14.04 (released April 2014) The new Linux distros are all sufficiently old that I think the upgrade is tolerable. Closes #6.
1 parent 2040f14 commit 38e7f03

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cpython-unix/base.Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Debian Wheezy.
2-
FROM debian@sha256:37103c15605251b2e35b70a3214af626a55cff39abbaadccd01ff828ee7005e0
1+
# Debian Jessie.
2+
FROM debian@sha256:734728c8e411698485ae644fc988dad06f757565e292b5b85edc084befa37bbb
33
MAINTAINER Gregory Szorc <[email protected]>
44

55
RUN groupadd -g 1000 build && \
@@ -17,8 +17,8 @@ ENV HOME=/build \
1717
CMD ["/bin/bash", "--login"]
1818
WORKDIR '/build'
1919

20-
RUN for s in debian_wheezy debian_wheezy-updates debian_wheezy-backports debian-security_wheezy/updates; do \
21-
echo "deb http://snapshot.debian.org/archive/${s%_*}/20190321T212815Z/ ${s#*_} main"; \
20+
RUN for s in debian_jessie debian_jessie-updates debian-security_jessie/updates; do \
21+
echo "deb http://snapshot.debian.org/archive/${s%_*}/20200510T203930Z/ ${s#*_} main"; \
2222
done > /etc/apt/sources.list && \
2323
( echo 'quiet "true";'; \
2424
echo 'APT::Get::Assume-Yes "true";'; \

0 commit comments

Comments
 (0)