Clean up curl commands
This commit is contained in:
parent
eba93c0d86
commit
c0549e0cd0
|
@ -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) \
|
||||
|
|
|
@ -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) \
|
||||
|
|
|
@ -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) \
|
||||
|
|
Loading…
Reference in New Issue