From c0549e0cd02896932589643c730639854efaa9d8 Mon Sep 17 00:00:00 2001 From: Moghedrin Date: Wed, 4 Feb 2015 15:19:08 -0700 Subject: [PATCH] Clean up curl commands --- 2.7/Dockerfile | 10 +++++----- 3.3/Dockerfile | 10 +++++----- 3.4/Dockerfile | 10 +++++----- 3 files changed, 15 insertions(+), 15 deletions(-) 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) \