Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions 2.7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 2.7.12
ENV PYTHON_PIP_VERSION 8.1.2

RUN set -ex \
&& buildDeps=' \
tcl-dev \
tk-dev \
' \
&& runDeps=' \
tcl \
tk \
' \
&& apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
&& export GNUPGHOME="$(mktemp -d)" \
Expand All @@ -42,6 +51,7 @@ 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

# install "virtualenv", since the vast majority of users of this image will want it
Expand Down
2 changes: 2 additions & 0 deletions 2.7/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ RUN set -ex \
pax-utils \
readline-dev \
sqlite-dev \
tcl-dev \
tk-dev \
zlib-dev \
&& cd /usr/src/python \
&& ./configure \
Expand Down
2 changes: 2 additions & 0 deletions 2.7/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ RUN set -ex \
libsqlite3-dev \
libssl-dev \
make \
tcl-dev \
tk-dev \
xz-utils \
zlib1g-dev \
' \
Expand Down
10 changes: 10 additions & 0 deletions 2.7/wheezy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 2.7.12
ENV PYTHON_PIP_VERSION 8.1.2

RUN set -ex \
&& buildDeps=' \
tcl-dev \
tk-dev \
' \
&& runDeps=' \
tcl \
tk \
' \
&& apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
&& export GNUPGHOME="$(mktemp -d)" \
Expand All @@ -42,6 +51,7 @@ 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

# install "virtualenv", since the vast majority of users of this image will want it
Expand Down
10 changes: 10 additions & 0 deletions 3.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 3.3.6
ENV PYTHON_PIP_VERSION 8.1.2

RUN set -ex \
&& buildDeps=' \
tcl-dev \
tk-dev \
' \
&& runDeps=' \
tcl \
tk \
' \
&& apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
&& export GNUPGHOME="$(mktemp -d)" \
Expand All @@ -42,6 +51,7 @@ 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

# make some useful symlinks that are expected to exist
Expand Down
2 changes: 2 additions & 0 deletions 3.3/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ RUN set -ex \
pax-utils \
readline-dev \
sqlite-dev \
tcl-dev \
tk-dev \
xz-dev \
zlib-dev \
&& cd /usr/src/python \
Expand Down
2 changes: 2 additions & 0 deletions 3.3/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ RUN set -ex \
libsqlite3-dev \
libssl-dev \
make \
tcl-dev \
tk-dev \
xz-utils \
zlib1g-dev \
' \
Expand Down
10 changes: 10 additions & 0 deletions 3.3/wheezy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 3.3.6
ENV PYTHON_PIP_VERSION 8.1.2

RUN set -ex \
&& buildDeps=' \
tcl-dev \
tk-dev \
' \
&& runDeps=' \
tcl \
tk \
' \
&& apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
&& export GNUPGHOME="$(mktemp -d)" \
Expand All @@ -42,6 +51,7 @@ 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

# make some useful symlinks that are expected to exist
Expand Down
10 changes: 10 additions & 0 deletions 3.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 3.4.5
ENV PYTHON_PIP_VERSION 8.1.2

RUN set -ex \
&& buildDeps=' \
tcl-dev \
tk-dev \
' \
&& runDeps=' \
tcl \
tk \
' \
&& apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
&& export GNUPGHOME="$(mktemp -d)" \
Expand All @@ -41,6 +50,7 @@ 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

# make some useful symlinks that are expected to exist
Expand Down
2 changes: 2 additions & 0 deletions 3.4/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ RUN set -ex \
pax-utils \
readline-dev \
sqlite-dev \
tcl-dev \
tk-dev \
xz-dev \
zlib-dev \
&& cd /usr/src/python \
Expand Down
2 changes: 2 additions & 0 deletions 3.4/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ RUN set -ex \
libsqlite3-dev \
libssl-dev \
make \
tcl-dev \
tk-dev \
xz-utils \
zlib1g-dev \
' \
Expand Down
10 changes: 10 additions & 0 deletions 3.4/wheezy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 3.4.5
ENV PYTHON_PIP_VERSION 8.1.2

RUN set -ex \
&& buildDeps=' \
tcl-dev \
tk-dev \
' \
&& runDeps=' \
tcl \
tk \
' \
&& apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
&& export GNUPGHOME="$(mktemp -d)" \
Expand All @@ -41,6 +50,7 @@ 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

# make some useful symlinks that are expected to exist
Expand Down
10 changes: 10 additions & 0 deletions 3.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 3.5.2
ENV PYTHON_PIP_VERSION 8.1.2

RUN set -ex \
&& buildDeps=' \
tcl-dev \
tk-dev \
' \
&& runDeps=' \
tcl \
tk \
' \
&& apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
&& export GNUPGHOME="$(mktemp -d)" \
Expand All @@ -41,6 +50,7 @@ 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

# make some useful symlinks that are expected to exist
Expand Down
2 changes: 2 additions & 0 deletions 3.5/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ RUN set -ex \
pax-utils \
readline-dev \
sqlite-dev \
tcl-dev \
tk-dev \
xz-dev \
zlib-dev \
&& cd /usr/src/python \
Expand Down
2 changes: 2 additions & 0 deletions 3.5/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ RUN set -ex \
libsqlite3-dev \
libssl-dev \
make \
tcl-dev \
tk-dev \
xz-utils \
zlib1g-dev \
' \
Expand Down
10 changes: 10 additions & 0 deletions 3.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 3.6.0a2
ENV PYTHON_PIP_VERSION 8.1.2

RUN set -ex \
&& buildDeps=' \
tcl-dev \
tk-dev \
' \
&& runDeps=' \
tcl \
tk \
' \
&& apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
&& export GNUPGHOME="$(mktemp -d)" \
Expand All @@ -41,6 +50,7 @@ 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

# make some useful symlinks that are expected to exist
Expand Down
2 changes: 2 additions & 0 deletions 3.6/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ RUN set -ex \
pax-utils \
readline-dev \
sqlite-dev \
tcl-dev \
tk-dev \
xz-dev \
zlib-dev \
&& cd /usr/src/python \
Expand Down
2 changes: 2 additions & 0 deletions 3.6/slim/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ RUN set -ex \
libsqlite3-dev \
libssl-dev \
make \
tcl-dev \
tk-dev \
xz-utils \
zlib1g-dev \
' \
Expand Down