-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Update docker-library images #2912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
yosifkit
merged 1 commit into
docker-library:master
from
infosiftr:update-docker-library
May 1, 2017
Merged
Update docker-library images #2912
yosifkit
merged 1 commit into
docker-library:master
from
infosiftr:update-docker-library
May 1, 2017
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- `mongo`: 3.2.13 - `python`: unconditionally invoke `get-pip.py` to install `pip` more consistently (docker-library/python#194) - `ruby`: rubygems 2.6.12
Diff:diff --git a/_bashbrew-list b/_bashbrew-list
index d4fde83..8c8bcf8 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -6,8 +6,8 @@ mongo:3.0.14
mongo:3.0.14-windowsservercore
mongo:3.2
mongo:3.2-windowsservercore
-mongo:3.2.12
-mongo:3.2.12-windowsservercore
+mongo:3.2.13
+mongo:3.2.13-windowsservercore
mongo:3.4
mongo:3.4-windowsservercore
mongo:3.4.4
diff --git a/mongo_3.2-windowsservercore/Dockerfile b/mongo_3.2-windowsservercore/Dockerfile
index 06d1e73..971a222 100644
--- a/mongo_3.2-windowsservercore/Dockerfile
+++ b/mongo_3.2-windowsservercore/Dockerfile
@@ -2,9 +2,9 @@ FROM microsoft/windowsservercore
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
-ENV MONGO_VERSION 3.2.12
+ENV MONGO_VERSION 3.2.13
ENV MONGO_DOWNLOAD_URL http://downloads.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-${MONGO_VERSION}-signed.msi
-ENV MONGO_DOWNLOAD_SHA256 9b8312e067c076808b6c8fd91e327b13caa0286ae21c1221cf29076ad110b116
+ENV MONGO_DOWNLOAD_SHA256 d6dd767bc9584e3457ebbb6993db14464a5eba5c625f8314a65efdb191d6095a
RUN Write-Host ('Downloading {0} ...' -f $env:MONGO_DOWNLOAD_URL); \
(New-Object System.Net.WebClient).DownloadFile($env:MONGO_DOWNLOAD_URL, 'mongo.msi'); \
diff --git a/mongo_3.2/Dockerfile b/mongo_3.2/Dockerfile
index b4a6e4d..03bc1fe 100644
--- a/mongo_3.2/Dockerfile
+++ b/mongo_3.2/Dockerfile
@@ -46,7 +46,7 @@ RUN set -ex; \
apt-key list
ENV MONGO_MAJOR 3.2
-ENV MONGO_VERSION 3.2.12
+ENV MONGO_VERSION 3.2.13
ENV MONGO_PACKAGE mongodb-org
RUN echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/$MONGO_MAJOR main" > /etc/apt/sources.list.d/mongodb-org.list
diff --git a/python_2-alpine/Dockerfile b/python_2-alpine/Dockerfile
index d4e82c6..96d91c5 100644
--- a/python_2-alpine/Dockerfile
+++ b/python_2-alpine/Dockerfile
@@ -14,11 +14,6 @@ RUN apk add --no-cache ca-certificates
ENV GPG_KEY C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF
ENV PYTHON_VERSION 2.7.13
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& apk add --no-cache --virtual .fetch-deps \
gnupg \
@@ -60,26 +55,9 @@ RUN set -ex \
&& ./configure \
--enable-shared \
--enable-unicode=ucs4 \
- && make -j$(getconf _NPROCESSORS_ONLN) \
+ && make -j "$(getconf _NPROCESSORS_ONLN)" \
&& make install \
\
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python2 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
- \
- && find /usr/local -depth \
- \( \
- \( -type d -a -name test -o -name tests \) \
- -o \
- \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
- \) -exec rm -rf '{}' + \
&& runDeps="$( \
scanelf --needed --nobanner --recursive /usr/local \
| awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' \
@@ -89,6 +67,39 @@ RUN set -ex \
)" \
&& apk add --virtual .python-rundeps $runDeps \
&& apk del .build-deps \
- && rm -rf /usr/src/python ~/.cache
+ \
+ && find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' + \
+ && rm -rf /usr/src/python
+
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ apk add --no-cache --virtual .fetch-deps openssl; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ apk del .fetch-deps; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
CMD ["python2"]
diff --git a/python_2-slim/Dockerfile b/python_2-slim/Dockerfile
index 423b498..59f3c8f 100644
--- a/python_2-slim/Dockerfile
+++ b/python_2-slim/Dockerfile
@@ -18,11 +18,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV GPG_KEY C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF
ENV PYTHON_VERSION 2.7.13
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& buildDeps=' \
gcc \
@@ -57,20 +52,11 @@ RUN set -ex \
&& ./configure \
--enable-shared \
--enable-unicode=ucs4 \
- && make -j$(nproc) \
+ && make -j "$(nproc)" \
&& make install \
&& ldconfig \
\
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python2 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
+ && apt-get purge -y --auto-remove $buildDeps \
\
&& find /usr/local -depth \
\( \
@@ -78,7 +64,34 @@ RUN set -ex \
-o \
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
\) -exec rm -rf '{}' + \
- && apt-get purge -y --auto-remove $buildDeps \
- && rm -rf /usr/src/python ~/.cache
+ && rm -rf /usr/src/python
+
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ apt-get update; \
+ apt-get install -y --no-install-recommends wget; \
+ rm -rf /var/lib/apt/lists/*; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ apt-get purge -y --auto-remove wget; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
CMD ["python2"]
diff --git a/python_2-wheezy/Dockerfile b/python_2-wheezy/Dockerfile
index b84805d..4520e88 100644
--- a/python_2-wheezy/Dockerfile
+++ b/python_2-wheezy/Dockerfile
@@ -16,11 +16,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV GPG_KEY C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF
ENV PYTHON_VERSION 2.7.13
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& buildDeps=' \
tcl-dev \
@@ -42,20 +37,11 @@ RUN set -ex \
&& ./configure \
--enable-shared \
--enable-unicode=ucs4 \
- && make -j$(nproc) \
+ && make -j "$(nproc)" \
&& make install \
&& ldconfig \
\
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python2 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
+ && apt-get purge -y --auto-remove $buildDeps \
\
&& find /usr/local -depth \
\( \
@@ -63,8 +49,29 @@ RUN set -ex \
-o \
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
\) -exec rm -rf '{}' + \
- && apt-get purge -y --auto-remove $buildDeps \
- && rm -rf /usr/src/python ~/.cache
+ && rm -rf /usr/src/python
+
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
# install "virtualenv", since the vast majority of users of this image will want it
RUN pip install --no-cache-dir virtualenv
diff --git a/python_2-windowsservercore/Dockerfile b/python_2-windowsservercore/Dockerfile
index 4d89c23..d4dfbf7 100644
--- a/python_2-windowsservercore/Dockerfile
+++ b/python_2-windowsservercore/Dockerfile
@@ -5,9 +5,6 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
ENV PYTHON_VERSION 2.7.13
ENV PYTHON_RELEASE 2.7.13
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-
RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}.amd64.msi' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \
Write-Host ('Downloading {0} ...' -f $url); \
(New-Object System.Net.WebClient).DownloadFile($url, 'python.msi'); \
@@ -34,10 +31,18 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}.amd64.msi' -f $env
Write-Host 'Removing ...'; \
Remove-Item python.msi -Force; \
\
- $pipInstall = ('pip=={0}' -f $env:PYTHON_PIP_VERSION); \
- Write-Host ('Installing {0} ...' -f $pipInstall); \
+ Write-Host 'Complete.';
+
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN Write-Host ('Installing pip=={0} ...' -f $env:PYTHON_PIP_VERSION); \
(New-Object System.Net.WebClient).DownloadFile('https://bootstrap.pypa.io/get-pip.py', 'get-pip.py'); \
- python get-pip.py $pipInstall; \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ ('pip=={0}' -f $env:PYTHON_PIP_VERSION) \
+ ; \
Remove-Item get-pip.py -Force; \
\
Write-Host 'Verifying pip install ...'; \
diff --git a/python_2/Dockerfile b/python_2/Dockerfile
index a9ef20d..756ed88 100644
--- a/python_2/Dockerfile
+++ b/python_2/Dockerfile
@@ -16,11 +16,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV GPG_KEY C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF
ENV PYTHON_VERSION 2.7.13
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& buildDeps=' \
tcl-dev \
@@ -42,20 +37,11 @@ RUN set -ex \
&& ./configure \
--enable-shared \
--enable-unicode=ucs4 \
- && make -j$(nproc) \
+ && make -j "$(nproc)" \
&& make install \
&& ldconfig \
\
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python2 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
+ && apt-get purge -y --auto-remove $buildDeps \
\
&& find /usr/local -depth \
\( \
@@ -63,8 +49,29 @@ RUN set -ex \
-o \
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
\) -exec rm -rf '{}' + \
- && apt-get purge -y --auto-remove $buildDeps \
- && rm -rf /usr/src/python ~/.cache
+ && rm -rf /usr/src/python
+
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
# install "virtualenv", since the vast majority of users of this image will want it
RUN pip install --no-cache-dir virtualenv
diff --git a/python_3.3-alpine/Dockerfile b/python_3.3-alpine/Dockerfile
index ddd987e..0c9515c 100644
--- a/python_3.3-alpine/Dockerfile
+++ b/python_3.3-alpine/Dockerfile
@@ -20,11 +20,6 @@ RUN apk add --no-cache ca-certificates
ENV GPG_KEY 26DEA9D4613391EF3E25C9FF0A5B101836580288
ENV PYTHON_VERSION 3.3.6
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& apk add --no-cache --virtual .fetch-deps \
gnupg \
@@ -67,29 +62,10 @@ RUN set -ex \
&& ./configure \
--enable-loadable-sqlite-extensions \
--enable-shared \
- && make -j$(getconf _NPROCESSORS_ONLN) \
+ --without-ensurepip \
+ && make -j "$(getconf _NPROCESSORS_ONLN)" \
&& make install \
\
-# explicit path to "pip3" to ensure distribution-provided "pip3" cannot interfere
- && if [ ! -e /usr/local/bin/pip3 ]; then : \
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
- ; fi \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip3 install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
- \
- && find /usr/local -depth \
- \( \
- \( -type d -a -name test -o -name tests \) \
- -o \
- \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
- \) -exec rm -rf '{}' + \
&& runDeps="$( \
scanelf --needed --nobanner --recursive /usr/local \
| awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' \
@@ -99,14 +75,46 @@ RUN set -ex \
)" \
&& apk add --virtual .python-rundeps $runDeps \
&& apk del .build-deps \
- && rm -rf /usr/src/python ~/.cache
+ \
+ && find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' + \
+ && rm -rf /usr/src/python
# make some useful symlinks that are expected to exist
RUN cd /usr/local/bin \
- && { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
&& ln -s idle3 idle \
&& ln -s pydoc3 pydoc \
&& ln -s python3 python \
&& ln -s python3-config python-config
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ apk add --no-cache --virtual .fetch-deps openssl; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ apk del .fetch-deps; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
+
CMD ["python3"]
diff --git a/python_3.3-slim/Dockerfile b/python_3.3-slim/Dockerfile
index fbce370..29e7e01 100644
--- a/python_3.3-slim/Dockerfile
+++ b/python_3.3-slim/Dockerfile
@@ -24,11 +24,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV GPG_KEY 26DEA9D4613391EF3E25C9FF0A5B101836580288
ENV PYTHON_VERSION 3.3.6
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& buildDeps=' \
gcc \
@@ -63,23 +58,12 @@ RUN set -ex \
&& ./configure \
--enable-loadable-sqlite-extensions \
--enable-shared \
- && make -j$(nproc) \
+ --without-ensurepip \
+ && make -j "$(nproc)" \
&& make install \
&& ldconfig \
\
-# explicit path to "pip3" to ensure distribution-provided "pip3" cannot interfere
- && if [ ! -e /usr/local/bin/pip3 ]; then : \
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
- ; fi \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip3 install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
+ && apt-get purge -y --auto-remove $buildDeps \
\
&& find /usr/local -depth \
\( \
@@ -87,15 +71,41 @@ RUN set -ex \
-o \
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
\) -exec rm -rf '{}' + \
- && apt-get purge -y --auto-remove $buildDeps \
- && rm -rf /usr/src/python ~/.cache
+ && rm -rf /usr/src/python
# make some useful symlinks that are expected to exist
RUN cd /usr/local/bin \
- && { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
&& ln -s idle3 idle \
&& ln -s pydoc3 pydoc \
&& ln -s python3 python \
&& ln -s python3-config python-config
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ apt-get update; \
+ apt-get install -y --no-install-recommends wget; \
+ rm -rf /var/lib/apt/lists/*; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ apt-get purge -y --auto-remove wget; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
+
CMD ["python3"]
diff --git a/python_3.3-wheezy/Dockerfile b/python_3.3-wheezy/Dockerfile
index bcc85fe..8c6774e 100644
--- a/python_3.3-wheezy/Dockerfile
+++ b/python_3.3-wheezy/Dockerfile
@@ -22,11 +22,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV GPG_KEY 26DEA9D4613391EF3E25C9FF0A5B101836580288
ENV PYTHON_VERSION 3.3.6
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& buildDeps=' \
tcl-dev \
@@ -48,23 +43,12 @@ RUN set -ex \
&& ./configure \
--enable-loadable-sqlite-extensions \
--enable-shared \
- && make -j$(nproc) \
+ --without-ensurepip \
+ && make -j "$(nproc)" \
&& make install \
&& ldconfig \
\
-# explicit path to "pip3" to ensure distribution-provided "pip3" cannot interfere
- && if [ ! -e /usr/local/bin/pip3 ]; then : \
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
- ; fi \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip3 install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
+ && apt-get purge -y --auto-remove $buildDeps \
\
&& find /usr/local -depth \
\( \
@@ -72,15 +56,35 @@ RUN set -ex \
-o \
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
\) -exec rm -rf '{}' + \
- && apt-get purge -y --auto-remove $buildDeps \
- && rm -rf /usr/src/python ~/.cache
+ && rm -rf /usr/src/python
# make some useful symlinks that are expected to exist
RUN cd /usr/local/bin \
- && { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
&& ln -s idle3 idle \
&& ln -s pydoc3 pydoc \
&& ln -s python3 python \
&& ln -s python3-config python-config
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
+
CMD ["python3"]
diff --git a/python_3.3/Dockerfile b/python_3.3/Dockerfile
index bc0e26d..950ce9f 100644
--- a/python_3.3/Dockerfile
+++ b/python_3.3/Dockerfile
@@ -22,11 +22,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV GPG_KEY 26DEA9D4613391EF3E25C9FF0A5B101836580288
ENV PYTHON_VERSION 3.3.6
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& buildDeps=' \
tcl-dev \
@@ -48,23 +43,12 @@ RUN set -ex \
&& ./configure \
--enable-loadable-sqlite-extensions \
--enable-shared \
- && make -j$(nproc) \
+ --without-ensurepip \
+ && make -j "$(nproc)" \
&& make install \
&& ldconfig \
\
-# explicit path to "pip3" to ensure distribution-provided "pip3" cannot interfere
- && if [ ! -e /usr/local/bin/pip3 ]; then : \
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
- ; fi \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip3 install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
+ && apt-get purge -y --auto-remove $buildDeps \
\
&& find /usr/local -depth \
\( \
@@ -72,15 +56,35 @@ RUN set -ex \
-o \
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
\) -exec rm -rf '{}' + \
- && apt-get purge -y --auto-remove $buildDeps \
- && rm -rf /usr/src/python ~/.cache
+ && rm -rf /usr/src/python
# make some useful symlinks that are expected to exist
RUN cd /usr/local/bin \
- && { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
&& ln -s idle3 idle \
&& ln -s pydoc3 pydoc \
&& ln -s python3 python \
&& ln -s python3-config python-config
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
+
CMD ["python3"]
diff --git a/python_3.4-alpine/Dockerfile b/python_3.4-alpine/Dockerfile
index 2fec56f..d738779 100644
--- a/python_3.4-alpine/Dockerfile
+++ b/python_3.4-alpine/Dockerfile
@@ -20,11 +20,6 @@ RUN apk add --no-cache ca-certificates
ENV GPG_KEY 97FC712E4C024BBEA48A61ED3A5CA953F73C700D
ENV PYTHON_VERSION 3.4.6
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& apk add --no-cache --virtual .fetch-deps \
gnupg \
@@ -67,29 +62,10 @@ RUN set -ex \
&& ./configure \
--enable-loadable-sqlite-extensions \
--enable-shared \
- && make -j$(getconf _NPROCESSORS_ONLN) \
+ --without-ensurepip \
+ && make -j "$(getconf _NPROCESSORS_ONLN)" \
&& make install \
\
-# explicit path to "pip3" to ensure distribution-provided "pip3" cannot interfere
- && if [ ! -e /usr/local/bin/pip3 ]; then : \
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
- ; fi \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip3 install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
- \
- && find /usr/local -depth \
- \( \
- \( -type d -a -name test -o -name tests \) \
- -o \
- \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
- \) -exec rm -rf '{}' + \
&& runDeps="$( \
scanelf --needed --nobanner --recursive /usr/local \
| awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' \
@@ -99,14 +75,46 @@ RUN set -ex \
)" \
&& apk add --virtual .python-rundeps $runDeps \
&& apk del .build-deps \
- && rm -rf /usr/src/python ~/.cache
+ \
+ && find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' + \
+ && rm -rf /usr/src/python
# make some useful symlinks that are expected to exist
RUN cd /usr/local/bin \
- && { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
&& ln -s idle3 idle \
&& ln -s pydoc3 pydoc \
&& ln -s python3 python \
&& ln -s python3-config python-config
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ apk add --no-cache --virtual .fetch-deps openssl; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ apk del .fetch-deps; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
+
CMD ["python3"]
diff --git a/python_3.4-slim/Dockerfile b/python_3.4-slim/Dockerfile
index 20de5ef..db322af 100644
--- a/python_3.4-slim/Dockerfile
+++ b/python_3.4-slim/Dockerfile
@@ -24,11 +24,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV GPG_KEY 97FC712E4C024BBEA48A61ED3A5CA953F73C700D
ENV PYTHON_VERSION 3.4.6
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& buildDeps=' \
gcc \
@@ -63,23 +58,12 @@ RUN set -ex \
&& ./configure \
--enable-loadable-sqlite-extensions \
--enable-shared \
- && make -j$(nproc) \
+ --without-ensurepip \
+ && make -j "$(nproc)" \
&& make install \
&& ldconfig \
\
-# explicit path to "pip3" to ensure distribution-provided "pip3" cannot interfere
- && if [ ! -e /usr/local/bin/pip3 ]; then : \
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
- ; fi \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip3 install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
+ && apt-get purge -y --auto-remove $buildDeps \
\
&& find /usr/local -depth \
\( \
@@ -87,15 +71,41 @@ RUN set -ex \
-o \
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
\) -exec rm -rf '{}' + \
- && apt-get purge -y --auto-remove $buildDeps \
- && rm -rf /usr/src/python ~/.cache
+ && rm -rf /usr/src/python
# make some useful symlinks that are expected to exist
RUN cd /usr/local/bin \
- && { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
&& ln -s idle3 idle \
&& ln -s pydoc3 pydoc \
&& ln -s python3 python \
&& ln -s python3-config python-config
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ apt-get update; \
+ apt-get install -y --no-install-recommends wget; \
+ rm -rf /var/lib/apt/lists/*; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ apt-get purge -y --auto-remove wget; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
+
CMD ["python3"]
diff --git a/python_3.4-wheezy/Dockerfile b/python_3.4-wheezy/Dockerfile
index 317b636..dad0c2f 100644
--- a/python_3.4-wheezy/Dockerfile
+++ b/python_3.4-wheezy/Dockerfile
@@ -22,11 +22,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV GPG_KEY 97FC712E4C024BBEA48A61ED3A5CA953F73C700D
ENV PYTHON_VERSION 3.4.6
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& buildDeps=' \
tcl-dev \
@@ -48,23 +43,12 @@ RUN set -ex \
&& ./configure \
--enable-loadable-sqlite-extensions \
--enable-shared \
- && make -j$(nproc) \
+ --without-ensurepip \
+ && make -j "$(nproc)" \
&& make install \
&& ldconfig \
\
-# explicit path to "pip3" to ensure distribution-provided "pip3" cannot interfere
- && if [ ! -e /usr/local/bin/pip3 ]; then : \
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
- ; fi \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip3 install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
+ && apt-get purge -y --auto-remove $buildDeps \
\
&& find /usr/local -depth \
\( \
@@ -72,15 +56,35 @@ RUN set -ex \
-o \
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
\) -exec rm -rf '{}' + \
- && apt-get purge -y --auto-remove $buildDeps \
- && rm -rf /usr/src/python ~/.cache
+ && rm -rf /usr/src/python
# make some useful symlinks that are expected to exist
RUN cd /usr/local/bin \
- && { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
&& ln -s idle3 idle \
&& ln -s pydoc3 pydoc \
&& ln -s python3 python \
&& ln -s python3-config python-config
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
+
CMD ["python3"]
diff --git a/python_3.4/Dockerfile b/python_3.4/Dockerfile
index 550de65..400d1d1 100644
--- a/python_3.4/Dockerfile
+++ b/python_3.4/Dockerfile
@@ -22,11 +22,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV GPG_KEY 97FC712E4C024BBEA48A61ED3A5CA953F73C700D
ENV PYTHON_VERSION 3.4.6
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& buildDeps=' \
tcl-dev \
@@ -48,23 +43,12 @@ RUN set -ex \
&& ./configure \
--enable-loadable-sqlite-extensions \
--enable-shared \
- && make -j$(nproc) \
+ --without-ensurepip \
+ && make -j "$(nproc)" \
&& make install \
&& ldconfig \
\
-# explicit path to "pip3" to ensure distribution-provided "pip3" cannot interfere
- && if [ ! -e /usr/local/bin/pip3 ]; then : \
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
- ; fi \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip3 install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
+ && apt-get purge -y --auto-remove $buildDeps \
\
&& find /usr/local -depth \
\( \
@@ -72,15 +56,35 @@ RUN set -ex \
-o \
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
\) -exec rm -rf '{}' + \
- && apt-get purge -y --auto-remove $buildDeps \
- && rm -rf /usr/src/python ~/.cache
+ && rm -rf /usr/src/python
# make some useful symlinks that are expected to exist
RUN cd /usr/local/bin \
- && { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
&& ln -s idle3 idle \
&& ln -s pydoc3 pydoc \
&& ln -s python3 python \
&& ln -s python3-config python-config
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
+
CMD ["python3"]
diff --git a/python_3.5-alpine/Dockerfile b/python_3.5-alpine/Dockerfile
index ffdb938..97e1925 100644
--- a/python_3.5-alpine/Dockerfile
+++ b/python_3.5-alpine/Dockerfile
@@ -20,11 +20,6 @@ RUN apk add --no-cache ca-certificates
ENV GPG_KEY 97FC712E4C024BBEA48A61ED3A5CA953F73C700D
ENV PYTHON_VERSION 3.5.3
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& apk add --no-cache --virtual .fetch-deps \
gnupg \
@@ -67,29 +62,10 @@ RUN set -ex \
&& ./configure \
--enable-loadable-sqlite-extensions \
--enable-shared \
- && make -j$(getconf _NPROCESSORS_ONLN) \
+ --without-ensurepip \
+ && make -j "$(getconf _NPROCESSORS_ONLN)" \
&& make install \
\
-# explicit path to "pip3" to ensure distribution-provided "pip3" cannot interfere
- && if [ ! -e /usr/local/bin/pip3 ]; then : \
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
- ; fi \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip3 install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
- \
- && find /usr/local -depth \
- \( \
- \( -type d -a -name test -o -name tests \) \
- -o \
- \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
- \) -exec rm -rf '{}' + \
&& runDeps="$( \
scanelf --needed --nobanner --recursive /usr/local \
| awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' \
@@ -99,14 +75,46 @@ RUN set -ex \
)" \
&& apk add --virtual .python-rundeps $runDeps \
&& apk del .build-deps \
- && rm -rf /usr/src/python ~/.cache
+ \
+ && find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' + \
+ && rm -rf /usr/src/python
# make some useful symlinks that are expected to exist
RUN cd /usr/local/bin \
- && { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
&& ln -s idle3 idle \
&& ln -s pydoc3 pydoc \
&& ln -s python3 python \
&& ln -s python3-config python-config
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ apk add --no-cache --virtual .fetch-deps openssl; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ apk del .fetch-deps; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
+
CMD ["python3"]
diff --git a/python_3.5-slim/Dockerfile b/python_3.5-slim/Dockerfile
index 56bec62..7fde2e6 100644
--- a/python_3.5-slim/Dockerfile
+++ b/python_3.5-slim/Dockerfile
@@ -24,11 +24,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV GPG_KEY 97FC712E4C024BBEA48A61ED3A5CA953F73C700D
ENV PYTHON_VERSION 3.5.3
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& buildDeps=' \
gcc \
@@ -63,23 +58,12 @@ RUN set -ex \
&& ./configure \
--enable-loadable-sqlite-extensions \
--enable-shared \
- && make -j$(nproc) \
+ --without-ensurepip \
+ && make -j "$(nproc)" \
&& make install \
&& ldconfig \
\
-# explicit path to "pip3" to ensure distribution-provided "pip3" cannot interfere
- && if [ ! -e /usr/local/bin/pip3 ]; then : \
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
- ; fi \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip3 install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
+ && apt-get purge -y --auto-remove $buildDeps \
\
&& find /usr/local -depth \
\( \
@@ -87,15 +71,41 @@ RUN set -ex \
-o \
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
\) -exec rm -rf '{}' + \
- && apt-get purge -y --auto-remove $buildDeps \
- && rm -rf /usr/src/python ~/.cache
+ && rm -rf /usr/src/python
# make some useful symlinks that are expected to exist
RUN cd /usr/local/bin \
- && { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
&& ln -s idle3 idle \
&& ln -s pydoc3 pydoc \
&& ln -s python3 python \
&& ln -s python3-config python-config
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ apt-get update; \
+ apt-get install -y --no-install-recommends wget; \
+ rm -rf /var/lib/apt/lists/*; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ apt-get purge -y --auto-remove wget; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
+
CMD ["python3"]
diff --git a/python_3.5-windowsservercore/Dockerfile b/python_3.5-windowsservercore/Dockerfile
index 2859fd0..0a4ad50 100644
--- a/python_3.5-windowsservercore/Dockerfile
+++ b/python_3.5-windowsservercore/Dockerfile
@@ -11,11 +11,6 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
ENV PYTHON_VERSION 3.5.3
ENV PYTHON_RELEASE 3.5.3
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \
Write-Host ('Downloading {0} ...' -f $url); \
(New-Object System.Net.WebClient).DownloadFile($url, 'python.exe'); \
@@ -30,6 +25,7 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env
'PrependPath=1', \
'Shortcuts=0', \
'Include_doc=0', \
+ 'Include_pip=0', \
'Include_test=0' \
); \
\
@@ -42,16 +38,19 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env
Write-Host 'Removing ...'; \
Remove-Item python.exe -Force; \
\
- Write-Host ('Installing pip=={0} ...' -f $env:PYTHON_PIP_VERSION); \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
-# (using "python -m pip" instead of "pip" to avoid pip trying to remove itself while it's running; see also https://pip.readthedocs.io/en/stable/installing/#id6)
- python -m pip install --no-cache-dir --upgrade --force-reinstall \
+ Write-Host 'Complete.';
+
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN Write-Host ('Installing pip=={0} ...' -f $env:PYTHON_PIP_VERSION); \
+ (New-Object System.Net.WebClient).DownloadFile('https://bootstrap.pypa.io/get-pip.py', 'get-pip.py'); \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
('pip=={0}' -f $env:PYTHON_PIP_VERSION) \
- ('setuptools=={0}' -f $env:PYTHON_SETUPTOOLS_VERSION) \
- ('wheel=={0}' -f $env:PYTHON_WHEEL_VERSION) \
; \
+ Remove-Item get-pip.py -Force; \
\
Write-Host 'Verifying pip install ...'; \
pip --version; \
diff --git a/python_3.5/Dockerfile b/python_3.5/Dockerfile
index 355f4d4..03d2fe8 100644
--- a/python_3.5/Dockerfile
+++ b/python_3.5/Dockerfile
@@ -22,11 +22,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV GPG_KEY 97FC712E4C024BBEA48A61ED3A5CA953F73C700D
ENV PYTHON_VERSION 3.5.3
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& buildDeps=' \
tcl-dev \
@@ -48,23 +43,12 @@ RUN set -ex \
&& ./configure \
--enable-loadable-sqlite-extensions \
--enable-shared \
- && make -j$(nproc) \
+ --without-ensurepip \
+ && make -j "$(nproc)" \
&& make install \
&& ldconfig \
\
-# explicit path to "pip3" to ensure distribution-provided "pip3" cannot interfere
- && if [ ! -e /usr/local/bin/pip3 ]; then : \
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
- ; fi \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip3 install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
+ && apt-get purge -y --auto-remove $buildDeps \
\
&& find /usr/local -depth \
\( \
@@ -72,15 +56,35 @@ RUN set -ex \
-o \
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
\) -exec rm -rf '{}' + \
- && apt-get purge -y --auto-remove $buildDeps \
- && rm -rf /usr/src/python ~/.cache
+ && rm -rf /usr/src/python
# make some useful symlinks that are expected to exist
RUN cd /usr/local/bin \
- && { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
&& ln -s idle3 idle \
&& ln -s pydoc3 pydoc \
&& ln -s python3 python \
&& ln -s python3-config python-config
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
+
CMD ["python3"]
diff --git a/python_alpine/Dockerfile b/python_alpine/Dockerfile
index 8dfef23..62c92d2 100644
--- a/python_alpine/Dockerfile
+++ b/python_alpine/Dockerfile
@@ -20,11 +20,6 @@ RUN apk add --no-cache ca-certificates
ENV GPG_KEY 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
ENV PYTHON_VERSION 3.6.1
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& apk add --no-cache --virtual .fetch-deps \
gnupg \
@@ -67,29 +62,10 @@ RUN set -ex \
&& ./configure \
--enable-loadable-sqlite-extensions \
--enable-shared \
- && make -j$(getconf _NPROCESSORS_ONLN) \
+ --without-ensurepip \
+ && make -j "$(getconf _NPROCESSORS_ONLN)" \
&& make install \
\
-# explicit path to "pip3" to ensure distribution-provided "pip3" cannot interfere
- && if [ ! -e /usr/local/bin/pip3 ]; then : \
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
- ; fi \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip3 install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
- \
- && find /usr/local -depth \
- \( \
- \( -type d -a -name test -o -name tests \) \
- -o \
- \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
- \) -exec rm -rf '{}' + \
&& runDeps="$( \
scanelf --needed --nobanner --recursive /usr/local \
| awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' \
@@ -99,14 +75,46 @@ RUN set -ex \
)" \
&& apk add --virtual .python-rundeps $runDeps \
&& apk del .build-deps \
- && rm -rf /usr/src/python ~/.cache
+ \
+ && find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' + \
+ && rm -rf /usr/src/python
# make some useful symlinks that are expected to exist
RUN cd /usr/local/bin \
- && { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
&& ln -s idle3 idle \
&& ln -s pydoc3 pydoc \
&& ln -s python3 python \
&& ln -s python3-config python-config
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ apk add --no-cache --virtual .fetch-deps openssl; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ apk del .fetch-deps; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
+
CMD ["python3"]
diff --git a/python_latest/Dockerfile b/python_latest/Dockerfile
index e301557..27c8652 100644
--- a/python_latest/Dockerfile
+++ b/python_latest/Dockerfile
@@ -22,11 +22,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV GPG_KEY 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
ENV PYTHON_VERSION 3.6.1
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& buildDeps=' \
tcl-dev \
@@ -48,23 +43,12 @@ RUN set -ex \
&& ./configure \
--enable-loadable-sqlite-extensions \
--enable-shared \
- && make -j$(nproc) \
+ --without-ensurepip \
+ && make -j "$(nproc)" \
&& make install \
&& ldconfig \
\
-# explicit path to "pip3" to ensure distribution-provided "pip3" cannot interfere
- && if [ ! -e /usr/local/bin/pip3 ]; then : \
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
- ; fi \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip3 install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
+ && apt-get purge -y --auto-remove $buildDeps \
\
&& find /usr/local -depth \
\( \
@@ -72,15 +56,35 @@ RUN set -ex \
-o \
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
\) -exec rm -rf '{}' + \
- && apt-get purge -y --auto-remove $buildDeps \
- && rm -rf /usr/src/python ~/.cache
+ && rm -rf /usr/src/python
# make some useful symlinks that are expected to exist
RUN cd /usr/local/bin \
- && { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
&& ln -s idle3 idle \
&& ln -s pydoc3 pydoc \
&& ln -s python3 python \
&& ln -s python3-config python-config
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
+
CMD ["python3"]
diff --git a/python_slim/Dockerfile b/python_slim/Dockerfile
index fcdb9df..0ed333b 100644
--- a/python_slim/Dockerfile
+++ b/python_slim/Dockerfile
@@ -24,11 +24,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ENV GPG_KEY 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
ENV PYTHON_VERSION 3.6.1
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN set -ex \
&& buildDeps=' \
gcc \
@@ -63,23 +58,12 @@ RUN set -ex \
&& ./configure \
--enable-loadable-sqlite-extensions \
--enable-shared \
- && make -j$(nproc) \
+ --without-ensurepip \
+ && make -j "$(nproc)" \
&& make install \
&& ldconfig \
\
-# explicit path to "pip3" to ensure distribution-provided "pip3" cannot interfere
- && if [ ! -e /usr/local/bin/pip3 ]; then : \
- && wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
- && python3 /tmp/get-pip.py "pip==$PYTHON_PIP_VERSION" \
- && rm /tmp/get-pip.py \
- ; fi \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
- && pip3 install --no-cache-dir --upgrade --force-reinstall \
- "pip==$PYTHON_PIP_VERSION" \
- "setuptools==$PYTHON_SETUPTOOLS_VERSION" \
- "wheel==$PYTHON_WHEEL_VERSION" \
+ && apt-get purge -y --auto-remove $buildDeps \
\
&& find /usr/local -depth \
\( \
@@ -87,15 +71,41 @@ RUN set -ex \
-o \
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
\) -exec rm -rf '{}' + \
- && apt-get purge -y --auto-remove $buildDeps \
- && rm -rf /usr/src/python ~/.cache
+ && rm -rf /usr/src/python
# make some useful symlinks that are expected to exist
RUN cd /usr/local/bin \
- && { [ -e easy_install ] || ln -s easy_install-* easy_install; } \
&& ln -s idle3 idle \
&& ln -s pydoc3 pydoc \
&& ln -s python3 python \
&& ln -s python3-config python-config
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN set -ex; \
+ \
+ apt-get update; \
+ apt-get install -y --no-install-recommends wget; \
+ rm -rf /var/lib/apt/lists/*; \
+ \
+ wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
+ \
+ apt-get purge -y --auto-remove wget; \
+ \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
+ "pip==$PYTHON_PIP_VERSION" \
+ ; \
+ pip --version; \
+ \
+ find /usr/local -depth \
+ \( \
+ \( -type d -a -name test -o -name tests \) \
+ -o \
+ \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
+ \) -exec rm -rf '{}' +; \
+ rm -f get-pip.py
+
CMD ["python3"]
diff --git a/python_windowsservercore/Dockerfile b/python_windowsservercore/Dockerfile
index 00c827d..b241818 100644
--- a/python_windowsservercore/Dockerfile
+++ b/python_windowsservercore/Dockerfile
@@ -11,11 +11,6 @@ SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"]
ENV PYTHON_VERSION 3.6.1
ENV PYTHON_RELEASE 3.6.1
-# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
-ENV PYTHON_PIP_VERSION 9.0.1
-ENV PYTHON_SETUPTOOLS_VERSION 35.0.1
-ENV PYTHON_WHEEL_VERSION 0.29.0
-
RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env:PYTHON_RELEASE, $env:PYTHON_VERSION); \
Write-Host ('Downloading {0} ...' -f $url); \
(New-Object System.Net.WebClient).DownloadFile($url, 'python.exe'); \
@@ -30,6 +25,7 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env
'PrependPath=1', \
'Shortcuts=0', \
'Include_doc=0', \
+ 'Include_pip=0', \
'Include_test=0' \
); \
\
@@ -42,16 +38,19 @@ RUN $url = ('https://www.python.org/ftp/python/{0}/python-{1}-amd64.exe' -f $env
Write-Host 'Removing ...'; \
Remove-Item python.exe -Force; \
\
- Write-Host ('Installing pip=={0} ...' -f $env:PYTHON_PIP_VERSION); \
-# we use "--force-reinstall" for the case where the version of pip we're trying to install is the same as the version bundled with Python
-# ("Requirement already up-to-date: pip==8.1.2 in /usr/local/lib/python3.6/site-packages")
-# https://github.com/docker-library/python/pull/143#issuecomment-241032683
-# (using "python -m pip" instead of "pip" to avoid pip trying to remove itself while it's running; see also https://pip.readthedocs.io/en/stable/installing/#id6)
- python -m pip install --no-cache-dir --upgrade --force-reinstall \
+ Write-Host 'Complete.';
+
+# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
+ENV PYTHON_PIP_VERSION 9.0.1
+
+RUN Write-Host ('Installing pip=={0} ...' -f $env:PYTHON_PIP_VERSION); \
+ (New-Object System.Net.WebClient).DownloadFile('https://bootstrap.pypa.io/get-pip.py', 'get-pip.py'); \
+ python get-pip.py \
+ --disable-pip-version-check \
+ --no-cache-dir \
('pip=={0}' -f $env:PYTHON_PIP_VERSION) \
- ('setuptools=={0}' -f $env:PYTHON_SETUPTOOLS_VERSION) \
- ('wheel=={0}' -f $env:PYTHON_WHEEL_VERSION) \
; \
+ Remove-Item get-pip.py -Force; \
\
Write-Host 'Verifying pip install ...'; \
pip --version; \
diff --git a/ruby_2.1-alpine/Dockerfile b/ruby_2.1-alpine/Dockerfile
index 6fcb47b..7906127 100644
--- a/ruby_2.1-alpine/Dockerfile
+++ b/ruby_2.1-alpine/Dockerfile
@@ -10,7 +10,7 @@ RUN mkdir -p /usr/local/etc \
ENV RUBY_MAJOR 2.1
ENV RUBY_VERSION 2.1.10
ENV RUBY_DOWNLOAD_SHA256 5be9f8d5d29d252cd7f969ab7550e31bbb001feb4a83532301c0dd3b5006e148
-ENV RUBYGEMS_VERSION 2.6.11
+ENV RUBYGEMS_VERSION 2.6.12
# some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built
diff --git a/ruby_2.1-slim/Dockerfile b/ruby_2.1-slim/Dockerfile
index 54a5057..b5350e6 100644
--- a/ruby_2.1-slim/Dockerfile
+++ b/ruby_2.1-slim/Dockerfile
@@ -22,7 +22,7 @@ RUN mkdir -p /usr/local/etc \
ENV RUBY_MAJOR 2.1
ENV RUBY_VERSION 2.1.10
ENV RUBY_DOWNLOAD_SHA256 5be9f8d5d29d252cd7f969ab7550e31bbb001feb4a83532301c0dd3b5006e148
-ENV RUBYGEMS_VERSION 2.6.11
+ENV RUBYGEMS_VERSION 2.6.12
# some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built
diff --git a/ruby_2.1/Dockerfile b/ruby_2.1/Dockerfile
index edb1e8f..eb5a040 100644
--- a/ruby_2.1/Dockerfile
+++ b/ruby_2.1/Dockerfile
@@ -10,7 +10,7 @@ RUN mkdir -p /usr/local/etc \
ENV RUBY_MAJOR 2.1
ENV RUBY_VERSION 2.1.10
ENV RUBY_DOWNLOAD_SHA256 5be9f8d5d29d252cd7f969ab7550e31bbb001feb4a83532301c0dd3b5006e148
-ENV RUBYGEMS_VERSION 2.6.11
+ENV RUBYGEMS_VERSION 2.6.12
# some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built
diff --git a/ruby_2.2-alpine/Dockerfile b/ruby_2.2-alpine/Dockerfile
index 41e46eb..856431a 100644
--- a/ruby_2.2-alpine/Dockerfile
+++ b/ruby_2.2-alpine/Dockerfile
@@ -10,7 +10,7 @@ RUN mkdir -p /usr/local/etc \
ENV RUBY_MAJOR 2.2
ENV RUBY_VERSION 2.2.7
ENV RUBY_DOWNLOAD_SHA256 234c8aee6543da9efd67008e6e7ee740d41ed57a52e797f65043c3b5ec3bcb53
-ENV RUBYGEMS_VERSION 2.6.11
+ENV RUBYGEMS_VERSION 2.6.12
# some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built
diff --git a/ruby_2.2-slim/Dockerfile b/ruby_2.2-slim/Dockerfile
index 72b5251..b78e334 100644
--- a/ruby_2.2-slim/Dockerfile
+++ b/ruby_2.2-slim/Dockerfile
@@ -22,7 +22,7 @@ RUN mkdir -p /usr/local/etc \
ENV RUBY_MAJOR 2.2
ENV RUBY_VERSION 2.2.7
ENV RUBY_DOWNLOAD_SHA256 234c8aee6543da9efd67008e6e7ee740d41ed57a52e797f65043c3b5ec3bcb53
-ENV RUBYGEMS_VERSION 2.6.11
+ENV RUBYGEMS_VERSION 2.6.12
# some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built
diff --git a/ruby_2.2/Dockerfile b/ruby_2.2/Dockerfile
index ba0032c..0374691 100644
--- a/ruby_2.2/Dockerfile
+++ b/ruby_2.2/Dockerfile
@@ -10,7 +10,7 @@ RUN mkdir -p /usr/local/etc \
ENV RUBY_MAJOR 2.2
ENV RUBY_VERSION 2.2.7
ENV RUBY_DOWNLOAD_SHA256 234c8aee6543da9efd67008e6e7ee740d41ed57a52e797f65043c3b5ec3bcb53
-ENV RUBYGEMS_VERSION 2.6.11
+ENV RUBYGEMS_VERSION 2.6.12
# some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built
diff --git a/ruby_2.3-alpine/Dockerfile b/ruby_2.3-alpine/Dockerfile
index 77a1711..fb447de 100644
--- a/ruby_2.3-alpine/Dockerfile
+++ b/ruby_2.3-alpine/Dockerfile
@@ -10,7 +10,7 @@ RUN mkdir -p /usr/local/etc \
ENV RUBY_MAJOR 2.3
ENV RUBY_VERSION 2.3.4
ENV RUBY_DOWNLOAD_SHA256 341cd9032e9fd17c452ed8562a8d43f7e45bfe05e411d0d7d627751dd82c578c
-ENV RUBYGEMS_VERSION 2.6.11
+ENV RUBYGEMS_VERSION 2.6.12
# some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built
diff --git a/ruby_2.3-slim/Dockerfile b/ruby_2.3-slim/Dockerfile
index 9943c2e..75ac3cd 100644
--- a/ruby_2.3-slim/Dockerfile
+++ b/ruby_2.3-slim/Dockerfile
@@ -22,7 +22,7 @@ RUN mkdir -p /usr/local/etc \
ENV RUBY_MAJOR 2.3
ENV RUBY_VERSION 2.3.4
ENV RUBY_DOWNLOAD_SHA256 341cd9032e9fd17c452ed8562a8d43f7e45bfe05e411d0d7d627751dd82c578c
-ENV RUBYGEMS_VERSION 2.6.11
+ENV RUBYGEMS_VERSION 2.6.12
# some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built
diff --git a/ruby_2.3/Dockerfile b/ruby_2.3/Dockerfile
index c25f2cc..8ea6ad7 100644
--- a/ruby_2.3/Dockerfile
+++ b/ruby_2.3/Dockerfile
@@ -10,7 +10,7 @@ RUN mkdir -p /usr/local/etc \
ENV RUBY_MAJOR 2.3
ENV RUBY_VERSION 2.3.4
ENV RUBY_DOWNLOAD_SHA256 341cd9032e9fd17c452ed8562a8d43f7e45bfe05e411d0d7d627751dd82c578c
-ENV RUBYGEMS_VERSION 2.6.11
+ENV RUBYGEMS_VERSION 2.6.12
# some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built
diff --git a/ruby_alpine/Dockerfile b/ruby_alpine/Dockerfile
index bf7d706..b23c37e 100644
--- a/ruby_alpine/Dockerfile
+++ b/ruby_alpine/Dockerfile
@@ -10,7 +10,7 @@ RUN mkdir -p /usr/local/etc \
ENV RUBY_MAJOR 2.4
ENV RUBY_VERSION 2.4.1
ENV RUBY_DOWNLOAD_SHA256 4fc8a9992de3e90191de369270ea4b6c1b171b7941743614cc50822ddc1fe654
-ENV RUBYGEMS_VERSION 2.6.11
+ENV RUBYGEMS_VERSION 2.6.12
# some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built
diff --git a/ruby_latest/Dockerfile b/ruby_latest/Dockerfile
index 065f659..d7d9d73 100644
--- a/ruby_latest/Dockerfile
+++ b/ruby_latest/Dockerfile
@@ -10,7 +10,7 @@ RUN mkdir -p /usr/local/etc \
ENV RUBY_MAJOR 2.4
ENV RUBY_VERSION 2.4.1
ENV RUBY_DOWNLOAD_SHA256 4fc8a9992de3e90191de369270ea4b6c1b171b7941743614cc50822ddc1fe654
-ENV RUBYGEMS_VERSION 2.6.11
+ENV RUBYGEMS_VERSION 2.6.12
# some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built
diff --git a/ruby_slim/Dockerfile b/ruby_slim/Dockerfile
index 6ccc727..0abf42c 100644
--- a/ruby_slim/Dockerfile
+++ b/ruby_slim/Dockerfile
@@ -22,7 +22,7 @@ RUN mkdir -p /usr/local/etc \
ENV RUBY_MAJOR 2.4
ENV RUBY_VERSION 2.4.1
ENV RUBY_DOWNLOAD_SHA256 4fc8a9992de3e90191de369270ea4b6c1b171b7941743614cc50822ddc1fe654
-ENV RUBYGEMS_VERSION 2.6.11
+ENV RUBYGEMS_VERSION 2.6.12
# some of ruby's build scripts are written in ruby
# we purge system ruby later to make sure our final image uses what we just built |
Build test of #2912; 3a66519 ( $ bashbrew build mongo:3.0.14
Using bashbrew/cache:75d094c08e2aaaf60f8cabf7f06dbf8f7aa68b3513b9b2e026dabcf4c78da6e4 (mongo:3.0.14)
Tagging mongo:3.0.14
Tagging mongo:3.0
$ test/run.sh mongo:3.0.14
testing mongo:3.0.14
'utc' [1/5]...passed
'cve-2014--shellshock' [2/5]...passed
'no-hard-coded-passwords' [3/5]...passed
'override-cmd' [4/5]...passed
'mongo-basics' [5/5]......passed
$ bashbrew build mongo:3.0.14-windowsservercore
skipping "mongo:3.0.14-windowsservercore" (due to unsatisfactory constraints ["windowsservercore"])
$ test/run.sh mongo:3.0.14-windowsservercore
testing mongo:3.0.14-windowsservercore
image does not exist!
$ bashbrew build mongo:3.2.13
Building bashbrew/cache:13fa726d3f793f96164e457700b70867632b7de232617874560eed6acc129140 (mongo:3.2.13)
Tagging mongo:3.2.13
Tagging mongo:3.2
$ test/run.sh mongo:3.2.13
testing mongo:3.2.13
'utc' [1/5]...passed
'cve-2014--shellshock' [2/5]...passed
'no-hard-coded-passwords' [3/5]...passed
'override-cmd' [4/5]...passed
'mongo-basics' [5/5]....passed
$ bashbrew build mongo:3.2.13-windowsservercore
skipping "mongo:3.2.13-windowsservercore" (due to unsatisfactory constraints ["windowsservercore"])
$ test/run.sh mongo:3.2.13-windowsservercore
testing mongo:3.2.13-windowsservercore
image does not exist!
$ bashbrew build mongo:3.4.4
Using bashbrew/cache:a473cf8e94709f1aeff7ac42a5ad6bcc099561f1db00c41070f36b76f010a4f1 (mongo:3.4.4)
Tagging mongo:3.4.4
Tagging mongo:3.4
Tagging mongo:3
Tagging mongo:latest
$ test/run.sh mongo:3.4.4
testing mongo:3.4.4
'utc' [1/5]...passed
'cve-2014--shellshock' [2/5]...passed
'no-hard-coded-passwords' [3/5]...passed
'override-cmd' [4/5]...passed
'mongo-basics' [5/5]....passed
$ bashbrew build mongo:3.4.4-windowsservercore
skipping "mongo:3.4.4-windowsservercore" (due to unsatisfactory constraints ["windowsservercore"])
$ test/run.sh mongo:3.4.4-windowsservercore
testing mongo:3.4.4-windowsservercore
image does not exist!
$ bashbrew build mongo:3.5.6
Using bashbrew/cache:89820d8b70abd09b70860ffdd95c809dc72a4c2894cef3dd816c385a48d0e620 (mongo:3.5.6)
Tagging mongo:3.5.6
Tagging mongo:3.5
Tagging mongo:unstable
$ test/run.sh mongo:3.5.6
testing mongo:3.5.6
'utc' [1/5]...passed
'cve-2014--shellshock' [2/5]...passed
'no-hard-coded-passwords' [3/5]...passed
'override-cmd' [4/5]...passed
'mongo-basics' [5/5]....passed
$ bashbrew build mongo:3.5.6-windowsservercore
skipping "mongo:3.5.6-windowsservercore" (due to unsatisfactory constraints ["windowsservercore"])
$ test/run.sh mongo:3.5.6-windowsservercore
testing mongo:3.5.6-windowsservercore
image does not exist!
$ bashbrew build python:2.7.13
Building bashbrew/cache:dfefd48e52067b308d92cfeee0e30ddd2f0aaa42b078625d90a0024fc7257f5d (python:2.7.13)
Tagging python:2.7.13
Tagging python:2.7
Tagging python:2
$ test/run.sh python:2.7.13
testing python:2.7.13
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:2.7.13-slim
Building bashbrew/cache:4339fafd88bfde6eb563d5b92fc7bf922e3219bf076c3a09930e87671d082444 (python:2.7.13-slim)
Tagging python:2.7.13-slim
Tagging python:2.7-slim
Tagging python:2-slim
$ test/run.sh python:2.7.13-slim
testing python:2.7.13-slim
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:2.7.13-alpine
Building bashbrew/cache:04a690d235cc9b196208af288c2dce90c47b087a3ef4447c9540336baa47c9f5 (python:2.7.13-alpine)
Tagging python:2.7.13-alpine
Tagging python:2.7-alpine
Tagging python:2-alpine
$ test/run.sh python:2.7.13-alpine
testing python:2.7.13-alpine
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:2.7.13-wheezy
Building bashbrew/cache:e4fab44fe95ac2419f69aa26ece81b492434ca263e08f0152687376695cf1c79 (python:2.7.13-wheezy)
Tagging python:2.7.13-wheezy
Tagging python:2.7-wheezy
Tagging python:2-wheezy
$ test/run.sh python:2.7.13-wheezy
testing python:2.7.13-wheezy
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:2.7.13-onbuild
Building bashbrew/cache:ce62dab2cc4e9099be66768a49055f4bd1f8566fa14295f258efd0b4e28c5a7a (python:2.7.13-onbuild)
Tagging python:2.7.13-onbuild
Tagging python:2.7-onbuild
Tagging python:2-onbuild
$ test/run.sh python:2.7.13-onbuild
testing python:2.7.13-onbuild
'override-cmd' [1/1]...passed
$ bashbrew build python:2.7.13-windowsservercore
skipping "python:2.7.13-windowsservercore" (due to unsatisfactory constraints ["windowsservercore"])
$ test/run.sh python:2.7.13-windowsservercore
testing python:2.7.13-windowsservercore
image does not exist!
$ bashbrew build python:3.3.6
Building bashbrew/cache:b63092e87b7b58e0ae9c2b33026b6d461334c636ce2c15506ab940d606a1d297 (python:3.3.6)
Tagging python:3.3.6
Tagging python:3.3
$ test/run.sh python:3.3.6
testing python:3.3.6
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:3.3.6-slim
Building bashbrew/cache:8cc974ab44e1a2b2d54d62329762b2d42562541d0c379336545019d6bbfe623d (python:3.3.6-slim)
Tagging python:3.3.6-slim
Tagging python:3.3-slim
$ test/run.sh python:3.3.6-slim
testing python:3.3.6-slim
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:3.3.6-alpine
Building bashbrew/cache:ff6e95cf462fc74b9b61b978f4a00f81e175655e15d52d0d147390074615c87c (python:3.3.6-alpine)
Tagging python:3.3.6-alpine
Tagging python:3.3-alpine
$ test/run.sh python:3.3.6-alpine
testing python:3.3.6-alpine
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:3.3.6-wheezy
Building bashbrew/cache:541cacf276c3712f6bc0d1d1e9ebaaac30fd763de666eda53fc0ff9b05873f35 (python:3.3.6-wheezy)
Tagging python:3.3.6-wheezy
Tagging python:3.3-wheezy
$ test/run.sh python:3.3.6-wheezy
testing python:3.3.6-wheezy
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:3.3.6-onbuild
Building bashbrew/cache:0668c1442ea282b530457f883dd9e3694f7b01e68da73337b03912e11b502446 (python:3.3.6-onbuild)
Tagging python:3.3.6-onbuild
Tagging python:3.3-onbuild
$ test/run.sh python:3.3.6-onbuild
testing python:3.3.6-onbuild
'override-cmd' [1/1]...passed
$ bashbrew build python:3.4.6
Building bashbrew/cache:2a1519cf7e1dcd93c0dd9fdfa78593d51109e2929155c9fb204ac0b54b804d35 (python:3.4.6)
Tagging python:3.4.6
Tagging python:3.4
$ test/run.sh python:3.4.6
testing python:3.4.6
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:3.4.6-slim
Building bashbrew/cache:d7d214a163b68d471875a0d40d5e14c585f37b30b07ca91680ebab727406051a (python:3.4.6-slim)
Tagging python:3.4.6-slim
Tagging python:3.4-slim
$ test/run.sh python:3.4.6-slim
testing python:3.4.6-slim
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:3.4.6-alpine
Building bashbrew/cache:0d230fd9c7f955994eeaf39a8f596f3255e9521ae497a2835014d482ca14b341 (python:3.4.6-alpine)
Tagging python:3.4.6-alpine
Tagging python:3.4-alpine
$ test/run.sh python:3.4.6-alpine
testing python:3.4.6-alpine
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:3.4.6-wheezy
Building bashbrew/cache:e3edde88e97b92b69253890900a9b555a9e52d45ee2c970be5602884d4bb3900 (python:3.4.6-wheezy)
Tagging python:3.4.6-wheezy
Tagging python:3.4-wheezy
$ test/run.sh python:3.4.6-wheezy
testing python:3.4.6-wheezy
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:3.4.6-onbuild
Building bashbrew/cache:6f463dd9f07c67854e91d963868a9eabacd813c02db663b9f51d5c30b88f932c (python:3.4.6-onbuild)
Tagging python:3.4.6-onbuild
Tagging python:3.4-onbuild
$ test/run.sh python:3.4.6-onbuild
testing python:3.4.6-onbuild
'override-cmd' [1/1]...passed
$ bashbrew build python:3.5.3
Building bashbrew/cache:5c75b834fd415083fd1423f293983b02c67e4f464d2645b06757b8e941252119 (python:3.5.3)
Tagging python:3.5.3
Tagging python:3.5
$ test/run.sh python:3.5.3
testing python:3.5.3
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:3.5.3-slim
Building bashbrew/cache:d26c96c77305a18a9975b05b985cb1e25c53b92d4f21adaeeed9e43d68973eb3 (python:3.5.3-slim)
Tagging python:3.5.3-slim
Tagging python:3.5-slim
$ test/run.sh python:3.5.3-slim
testing python:3.5.3-slim
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:3.5.3-alpine
Building bashbrew/cache:9f1268bd6623b868a1d2c0176b9a921318ad890d9db86fb7a1fc5f94eb444fa7 (python:3.5.3-alpine)
Tagging python:3.5.3-alpine
Tagging python:3.5-alpine
$ test/run.sh python:3.5.3-alpine
testing python:3.5.3-alpine
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:3.5.3-onbuild
Building bashbrew/cache:8d108c3896d2e8a336ea7c695c33572f461a3b694ca9b2c939ece1b02cb0778c (python:3.5.3-onbuild)
Tagging python:3.5.3-onbuild
Tagging python:3.5-onbuild
$ test/run.sh python:3.5.3-onbuild
testing python:3.5.3-onbuild
'override-cmd' [1/1]...passed
$ bashbrew build python:3.5.3-windowsservercore
skipping "python:3.5.3-windowsservercore" (due to unsatisfactory constraints ["windowsservercore"])
$ test/run.sh python:3.5.3-windowsservercore
testing python:3.5.3-windowsservercore
image does not exist!
$ bashbrew build python:3.6.1
Building bashbrew/cache:1cea2dbad0e59833a2c82fd75459869dcd152982a55ba243618b46601f6b01f8 (python:3.6.1)
Tagging python:3.6.1
Tagging python:3.6
Tagging python:3
Tagging python:latest
$ test/run.sh python:3.6.1
testing python:3.6.1
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:3.6.1-slim
Building bashbrew/cache:14b1bc01120e5269a4eb9c9d09b8b469807e1bb227a6c1f7f6b2d69eb9b037a7 (python:3.6.1-slim)
Tagging python:3.6.1-slim
Tagging python:3.6-slim
Tagging python:3-slim
Tagging python:slim
$ test/run.sh python:3.6.1-slim
testing python:3.6.1-slim
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:3.6.1-alpine
Building bashbrew/cache:1281c24356eb5c245f42a59e4acf3a1f07a9809026d4c309769a27f550aa83fb (python:3.6.1-alpine)
Tagging python:3.6.1-alpine
Tagging python:3.6-alpine
Tagging python:3-alpine
Tagging python:alpine
$ test/run.sh python:3.6.1-alpine
testing python:3.6.1-alpine
'utc' [1/8]...passed
'cve-2014--shellshock' [2/8]...passed
'no-hard-coded-passwords' [3/8]...passed
'override-cmd' [4/8]...passed
'python-hy' [5/8]...passed
'python-imports' [6/8]...passed
'python-pip-requests-ssl' [7/8]...passed
'python-sqlite3' [8/8]...passed
$ bashbrew build python:3.6.1-onbuild
Building bashbrew/cache:61d949e48898c006a53be8fb5fcd72be7ef9254d56826b26aac0f9d8fbe37519 (python:3.6.1-onbuild)
Tagging python:3.6.1-onbuild
Tagging python:3.6-onbuild
Tagging python:3-onbuild
Tagging python:onbuild
$ test/run.sh python:3.6.1-onbuild
testing python:3.6.1-onbuild
'override-cmd' [1/1]...passed
$ bashbrew build python:3.6.1-windowsservercore
skipping "python:3.6.1-windowsservercore" (due to unsatisfactory constraints ["windowsservercore"])
$ test/run.sh python:3.6.1-windowsservercore
testing python:3.6.1-windowsservercore
image does not exist!
$ bashbrew build ruby:2.1.10
Building bashbrew/cache:d8bef10767fb8923982d6f018f07cc461f6d66e6f5560dddcc5917b27e97f815 (ruby:2.1.10)
Tagging ruby:2.1.10
Tagging ruby:2.1
$ test/run.sh ruby:2.1.10
testing ruby:2.1.10
'utc' [1/9]...passed
'cve-2014--shellshock' [2/9]...passed
'no-hard-coded-passwords' [3/9]...passed
'override-cmd' [4/9]...passed
'ruby-hello-world' [5/9]...passed
'ruby-standard-libs' [6/9]...passed
'ruby-gems' [7/9]...passed
'ruby-bundler' [8/9]...passed
'ruby-nonroot' [9/9]...passed
$ bashbrew build ruby:2.1.10-slim
Building bashbrew/cache:e673183970605f72bb06c50a39ac336fda4fd09c0fc86a05491b8386db93d268 (ruby:2.1.10-slim)
Tagging ruby:2.1.10-slim
Tagging ruby:2.1-slim
$ test/run.sh ruby:2.1.10-slim
testing ruby:2.1.10-slim
'utc' [1/7]...passed
'cve-2014--shellshock' [2/7]...passed
'no-hard-coded-passwords' [3/7]...passed
'override-cmd' [4/7]...passed
'ruby-hello-world' [5/7]...passed
'ruby-standard-libs' [6/7]...passed
'ruby-nonroot' [7/7]...passed
$ bashbrew build ruby:2.1.10-alpine
Building bashbrew/cache:230f8536876cd3c6bca4cb00cdcd264e1fad3489a59b7f2111d61eedd837b288 (ruby:2.1.10-alpine)
Tagging ruby:2.1.10-alpine
Tagging ruby:2.1-alpine
$ test/run.sh ruby:2.1.10-alpine
testing ruby:2.1.10-alpine
'utc' [1/7]...passed
'cve-2014--shellshock' [2/7]...passed
'no-hard-coded-passwords' [3/7]...passed
'override-cmd' [4/7]...passed
'ruby-hello-world' [5/7]...passed
'ruby-standard-libs' [6/7]...passed
'ruby-nonroot' [7/7]...passed
$ bashbrew build ruby:2.1.10-onbuild
Building bashbrew/cache:56ac6baa240a1a5ad33b086a567d93f988ba6ab9148b11d931dd786b2e0ce44a (ruby:2.1.10-onbuild)
Tagging ruby:2.1.10-onbuild
Tagging ruby:2.1-onbuild
$ test/run.sh ruby:2.1.10-onbuild
testing ruby:2.1.10-onbuild
'override-cmd' [1/1]...passed
$ bashbrew build ruby:2.2.7
Building bashbrew/cache:acfcb980303db8b9497a73dc817372552ed50cefa3fbd1802c1bce2babe369a8 (ruby:2.2.7)
Tagging ruby:2.2.7
Tagging ruby:2.2
$ test/run.sh ruby:2.2.7
testing ruby:2.2.7
'utc' [1/9]...passed
'cve-2014--shellshock' [2/9]...passed
'no-hard-coded-passwords' [3/9]...passed
'override-cmd' [4/9]...passed
'ruby-hello-world' [5/9]...passed
'ruby-standard-libs' [6/9]...passed
'ruby-gems' [7/9]...passed
'ruby-bundler' [8/9]...passed
'ruby-nonroot' [9/9]...passed
$ bashbrew build ruby:2.2.7-slim
Building bashbrew/cache:4195dce86e9e86716d49b3719503ea111bc3e3f1b753ccac0b1dafc46abdf161 (ruby:2.2.7-slim)
Tagging ruby:2.2.7-slim
Tagging ruby:2.2-slim
$ test/run.sh ruby:2.2.7-slim
testing ruby:2.2.7-slim
'utc' [1/7]...passed
'cve-2014--shellshock' [2/7]...passed
'no-hard-coded-passwords' [3/7]...passed
'override-cmd' [4/7]...passed
'ruby-hello-world' [5/7]...passed
'ruby-standard-libs' [6/7]...passed
'ruby-nonroot' [7/7]...passed
$ bashbrew build ruby:2.2.7-alpine
Building bashbrew/cache:4bc64cedf329865f5edfd2ef023f491a83fa2a6eb8c98fdfa55957f75c01eb7e (ruby:2.2.7-alpine)
Tagging ruby:2.2.7-alpine
Tagging ruby:2.2-alpine
$ test/run.sh ruby:2.2.7-alpine
testing ruby:2.2.7-alpine
'utc' [1/7]...passed
'cve-2014--shellshock' [2/7]...passed
'no-hard-coded-passwords' [3/7]...passed
'override-cmd' [4/7]...passed
'ruby-hello-world' [5/7]...passed
'ruby-standard-libs' [6/7]...passed
'ruby-nonroot' [7/7]...passed
$ bashbrew build ruby:2.2.7-onbuild
Building bashbrew/cache:7387bc2260926ccb2c52066dbc1a8110389236a5cdc47bb7438e54bb09895737 (ruby:2.2.7-onbuild)
Tagging ruby:2.2.7-onbuild
Tagging ruby:2.2-onbuild
$ test/run.sh ruby:2.2.7-onbuild
testing ruby:2.2.7-onbuild
'override-cmd' [1/1]...passed
$ bashbrew build ruby:2.3.4
Building bashbrew/cache:775ee5c678e62cd8309a8889a54f776179568a7acf2b4127c02b9c8848a85978 (ruby:2.3.4)
Tagging ruby:2.3.4
Tagging ruby:2.3
$ test/run.sh ruby:2.3.4
testing ruby:2.3.4
'utc' [1/9]...passed
'cve-2014--shellshock' [2/9]...passed
'no-hard-coded-passwords' [3/9]...passed
'override-cmd' [4/9]...passed
'ruby-hello-world' [5/9]...passed
'ruby-standard-libs' [6/9]...passed
'ruby-gems' [7/9]...passed
'ruby-bundler' [8/9]...passed
'ruby-nonroot' [9/9]...passed
$ bashbrew build ruby:2.3.4-slim
Building bashbrew/cache:22762c4b0a19e7b4a90f2a7dde159e5434aa87ddb885206a333bf0f88f7516ef (ruby:2.3.4-slim)
Tagging ruby:2.3.4-slim
Tagging ruby:2.3-slim
$ test/run.sh ruby:2.3.4-slim
testing ruby:2.3.4-slim
'utc' [1/7]...passed
'cve-2014--shellshock' [2/7]...passed
'no-hard-coded-passwords' [3/7]...passed
'override-cmd' [4/7]...passed
'ruby-hello-world' [5/7]...passed
'ruby-standard-libs' [6/7]...passed
'ruby-nonroot' [7/7]...passed
$ bashbrew build ruby:2.3.4-alpine
Building bashbrew/cache:1b960cf6cbbe02600500a8a46f539aa3651719e3786fea2f082497760860babf (ruby:2.3.4-alpine)
Tagging ruby:2.3.4-alpine
Tagging ruby:2.3-alpine
$ test/run.sh ruby:2.3.4-alpine
testing ruby:2.3.4-alpine
'utc' [1/7]...passed
'cve-2014--shellshock' [2/7]...passed
'no-hard-coded-passwords' [3/7]...passed
'override-cmd' [4/7]...passed
'ruby-hello-world' [5/7]...passed
'ruby-standard-libs' [6/7]...passed
'ruby-nonroot' [7/7]...passed
$ bashbrew build ruby:2.3.4-onbuild
Building bashbrew/cache:b127e496a581abfc4a16a5ed7cabca9f8649cb8414d48b7105a362b350e66a30 (ruby:2.3.4-onbuild)
Tagging ruby:2.3.4-onbuild
Tagging ruby:2.3-onbuild
$ test/run.sh ruby:2.3.4-onbuild
testing ruby:2.3.4-onbuild
'override-cmd' [1/1]...passed
$ bashbrew build ruby:2.4.1
Building bashbrew/cache:78ab1a51d21146b6adf2dd8a9dc8f68bb0bec5b3877cb188a0e5b1b9245b7316 (ruby:2.4.1)
Tagging ruby:2.4.1
Tagging ruby:2.4
Tagging ruby:2
Tagging ruby:latest
$ test/run.sh ruby:2.4.1
testing ruby:2.4.1
'utc' [1/9]...passed
'cve-2014--shellshock' [2/9]...passed
'no-hard-coded-passwords' [3/9]...passed
'override-cmd' [4/9]...passed
'ruby-hello-world' [5/9]...passed
'ruby-standard-libs' [6/9]...passed
'ruby-gems' [7/9]...passed
'ruby-bundler' [8/9]...passed
'ruby-nonroot' [9/9]...passed
$ bashbrew build ruby:2.4.1-slim
Building bashbrew/cache:58d090cdfcb5c79bf6acf41e3ce2e7a41741db38621f51d8de7ba4e4e33fd808 (ruby:2.4.1-slim)
Tagging ruby:2.4.1-slim
Tagging ruby:2.4-slim
Tagging ruby:2-slim
Tagging ruby:slim
$ test/run.sh ruby:2.4.1-slim
testing ruby:2.4.1-slim
'utc' [1/7]...passed
'cve-2014--shellshock' [2/7]...passed
'no-hard-coded-passwords' [3/7]...passed
'override-cmd' [4/7]...passed
'ruby-hello-world' [5/7]...passed
'ruby-standard-libs' [6/7]...passed
'ruby-nonroot' [7/7]...passed
$ bashbrew build ruby:2.4.1-alpine
Building bashbrew/cache:6f32062e109f6a083bca899220b1e25976b1936fc23d2eca496ad70bc3ce7321 (ruby:2.4.1-alpine)
Tagging ruby:2.4.1-alpine
Tagging ruby:2.4-alpine
Tagging ruby:2-alpine
Tagging ruby:alpine
$ test/run.sh ruby:2.4.1-alpine
testing ruby:2.4.1-alpine
'utc' [1/7]...passed
'cve-2014--shellshock' [2/7]...passed
'no-hard-coded-passwords' [3/7]...passed
'override-cmd' [4/7]...passed
'ruby-hello-world' [5/7]...passed
'ruby-standard-libs' [6/7]...passed
'ruby-nonroot' [7/7]...passed
$ bashbrew build ruby:2.4.1-onbuild
Building bashbrew/cache:adef4e04b72c6495b93e12d7f11e2a70f759e6e287a2eadf821cf36a3064edd7 (ruby:2.4.1-onbuild)
Tagging ruby:2.4.1-onbuild
Tagging ruby:2.4-onbuild
Tagging ruby:2-onbuild
Tagging ruby:onbuild
$ test/run.sh ruby:2.4.1-onbuild
testing ruby:2.4.1-onbuild
'override-cmd' [1/1]...passed
The following images failed at least one test:
|
$ bashbrew build 2>/dev/null https://github.com/infosiftr/stackbrew/raw/update-docker-library/library/{mongo,python}
Using bashbrew/cache:9b308f264cdbe7a6e9f58f04fc264cb673cc3f1e6ac51939a14ca7e6b45c8e76 (mongo:3.0.14-windowsservercore)
Tagging mongo:3.0.14-windowsservercore
Tagging mongo:3.0-windowsservercore
Building bashbrew/cache:23df7d218e866f4239936e6573cc6b8ddc767976bdecc90e669d694faf49c2d0 (mongo:3.2.13-windowsservercore)
Tagging mongo:3.2.13-windowsservercore
Tagging mongo:3.2-windowsservercore
Using bashbrew/cache:5f02b0e7cb974a834ec7ec6f34411e3d32a6275094fdb32830cadfcbd4bcbb0d (mongo:3.4.4-windowsservercore)
Tagging mongo:3.4.4-windowsservercore
Tagging mongo:3.4-windowsservercore
Tagging mongo:3-windowsservercore
Tagging mongo:windowsservercore
Using bashbrew/cache:1157b661df02a205a700fcd9cd08b7bd4de4c7ed08cd9313136ac5044fd29b2b (mongo:3.5.6-windowsservercore)
Tagging mongo:3.5.6-windowsservercore
Tagging mongo:3.5-windowsservercore
Tagging mongo:unstable-windowsservercore
Building bashbrew/cache:cb0ee9db7c4df5247c6cfe29237dc76208efc55bc9319ab86579651ac95d486d (python:2.7.13-windowsservercore)
Tagging python:2.7.13-windowsservercore
Tagging python:2.7-windowsservercore
Tagging python:2-windowsservercore
Building bashbrew/cache:f3e91f71c1a1f43cff15133f55a5c7fcc1a90578460d9d2ecf5094a551f32360 (python:3.5.3-windowsservercore)
Tagging python:3.5.3-windowsservercore
Tagging python:3.5-windowsservercore
Building bashbrew/cache:a83df4f989529c5e52f4fb81193d53f3664fbc5af2962d92ed7639b37cc0958f (python:3.6.1-windowsservercore)
Tagging python:3.6.1-windowsservercore
Tagging python:3.6-windowsservercore
Tagging python:3-windowsservercore
Tagging python:windowsservercore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
mongo
: 3.2.13python
: unconditionally invokeget-pip.py
to installpip
more consistently (Switch to unconditional invocation of "get-pip.py" python#194)ruby
: rubygems 2.6.12