diff --git a/2.7/Dockerfile b/2.7/Dockerfile index f4ecc4e..80c50b6 100644 --- a/2.7/Dockerfile +++ b/2.7/Dockerfile @@ -15,11 +15,11 @@ RUN gpg --keyserver pool.sks-keyservers.net --recv-keys \ RUN set -x \ && mkdir -p /usr/src/python \ - && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" -o "Python-$PYTHON_VERSION.tar.xz" \ - && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz.asc" -o "Python-$PYTHON_VERSION.tar.xz.asc" \ - && gpg --verify "Python-$PYTHON_VERSION.tar.xz.asc" \ - && tar -xJC /usr/src/python --strip-components=1 -f "Python-$PYTHON_VERSION.tar.xz" \ - && rm "Python-$PYTHON_VERSION.tar.xz"* \ + && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \ + && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \ + && gpg --verify python.tar.xz.asc \ + && tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \ + && rm python.tar.xz* \ && cd /usr/src/python \ && ./configure --enable-shared \ && make -j$(nproc) \ diff --git a/3.3/Dockerfile b/3.3/Dockerfile index 24c13eb..0f544fd 100644 --- a/3.3/Dockerfile +++ b/3.3/Dockerfile @@ -15,11 +15,11 @@ RUN gpg --keyserver pool.sks-keyservers.net --recv-keys \ RUN set -x \ && mkdir -p /usr/src/python \ - && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" -o "Python-$PYTHON_VERSION.tar.xz" \ - && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz.asc" -o "Python-$PYTHON_VERSION.tar.xz.asc" \ - && gpg --verify "Python-$PYTHON_VERSION.tar.xz.asc" \ - && tar -xJC /usr/src/python --strip-components=1 -f "Python-$PYTHON_VERSION.tar.xz" \ - && rm "Python-$PYTHON_VERSION.tar.xz"* \ + && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \ + && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \ + && gpg --verify python.tar.xz.asc \ + && tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \ + && rm python.tar.xz* \ && cd /usr/src/python \ && ./configure --enable-shared \ && make -j$(nproc) \ diff --git a/3.4/Dockerfile b/3.4/Dockerfile index ff6d70d..c24ead9 100644 --- a/3.4/Dockerfile +++ b/3.4/Dockerfile @@ -15,11 +15,11 @@ RUN gpg --keyserver pool.sks-keyservers.net --recv-keys \ RUN set -x \ && mkdir -p /usr/src/python \ - && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" -o "Python-$PYTHON_VERSION.tar.xz" \ - && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz.asc" -o "Python-$PYTHON_VERSION.tar.xz.asc" \ - && gpg --verify "Python-$PYTHON_VERSION.tar.xz.asc" \ - && tar -xJC /usr/src/python --strip-components=1 -f "Python-$PYTHON_VERSION.tar.xz" \ - && rm "Python-$PYTHON_VERSION.tar.xz"* \ + && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \ + && curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \ + && gpg --verify python.tar.xz.asc \ + && tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \ + && rm python.tar.xz* \ && cd /usr/src/python \ && ./configure --enable-shared \ && make -j$(nproc) \