Skip to content

Commit e61e8d0

Browse files
committed
docker: Python configuration tweaks
1 parent 35522ad commit e61e8d0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docker/Dockerfile.nogil

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ RUN git clone --depth 1 --branch 3.13 https://github.com/python/cpython.git /tmp
2222
WORKDIR /tmp/cpython
2323

2424
# Configure, build, and install Python 3.13 with the GIL disabled
25-
RUN ./configure --prefix=/opt/python3 --disable-gil --enable-optimizations
25+
RUN ./configure \
26+
--prefix=/opt/python3 \
27+
--disable-gil \
28+
--enable-optimizations \
29+
--enable-shared \
30+
--enable-multilib
2631
RUN make -j$(nproc)
2732
RUN make install
2833

0 commit comments

Comments
 (0)