We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa86aea commit 043799aCopy full SHA for 043799a
Dockerfile
@@ -199,7 +199,7 @@ RUN wget -qO /tmp/python2.tar.xz "https://www.python.org/ftp/python/2.7.18/Pytho
199
tar --extract --directory /usr/src/python2 --strip-components=1 --file /tmp/python2.tar.xz && \
200
rm -f /tmp/python2.tar.xz && \
201
cd /usr/src/python2 && \
202
- ./configure --enable-optimizations --enable-option-checking=fatal --with-ensurepip=install --enable-shared --with-lto --with-system-expat && \
+ CFLAGS="-std=gnu17" ./configure --enable-optimizations --enable-option-checking=fatal --with-ensurepip=install --enable-shared --with-lto --with-system-expat && \
203
make -s -j "$(nproc)" && \
204
make altinstall && \
205
make clean && \
0 commit comments