We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 669b467 commit f9b42ebCopy full SHA for f9b42eb
1 file changed
docker/Dockerfile.nogil
@@ -23,12 +23,13 @@ RUN apt-get install -y \
23
libncurses5-dev libreadline6-dev libsqlite3-dev libssl-dev \
24
lzma lzma-dev tk-dev uuid-dev zlib1g-dev libmpdec-dev libzstd-dev
25
26
+
27
# Clone CPython repository at the 3.13 branch
28
RUN git clone --depth 1 --branch 3.13 https://github.com/python/cpython.git /tmp/cpython
29
-WORKDIR /tmp/cpython
30
31
# Configure, build, and install Python 3.13 with the GIL disabled
32
+WORKDIR /tmp/cpython
33
RUN ./configure \
34
--prefix=/opt/python3 \
35
--disable-gil \
@@ -47,6 +48,7 @@ RUN rm -rf /tmp/cpython
47
48
# Set the PATH to include custom Python build
49
ENV PATH="/opt/python3/bin:${PATH}"
50
51
52
# Install some Python runtime dependencies
53
RUN apt-get install -y \
54
libnuma-dev && \
0 commit comments