File tree 18 files changed +100
-0
lines changed
18 files changed +100
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 2.7.12
16
16
ENV PYTHON_PIP_VERSION 8.1.2
17
17
18
18
RUN set -ex \
19
+ && buildDeps=' \
20
+ tcl-dev \
21
+ tk-dev \
22
+ ' \
23
+ && runDeps=' \
24
+ tcl \
25
+ tk \
26
+ ' \
27
+ && apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
19
28
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
20
29
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
21
30
&& export GNUPGHOME="$(mktemp -d)" \
@@ -42,6 +51,7 @@ RUN set -ex \
42
51
-o \
43
52
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
44
53
\) -exec rm -rf '{}' + \
54
+ && apt-get purge -y --auto-remove $buildDeps \
45
55
&& rm -rf /usr/src/python ~/.cache
46
56
47
57
# install "virtualenv", since the vast majority of users of this image will want it
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ RUN set -ex \
35
35
pax-utils \
36
36
readline-dev \
37
37
sqlite-dev \
38
+ tcl-dev \
39
+ tk-dev \
38
40
zlib-dev \
39
41
&& cd /usr/src/python \
40
42
&& ./configure \
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ RUN set -ex \
32
32
libsqlite3-dev \
33
33
libssl-dev \
34
34
make \
35
+ tcl-dev \
36
+ tk-dev \
35
37
xz-utils \
36
38
zlib1g-dev \
37
39
' \
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 2.7.12
16
16
ENV PYTHON_PIP_VERSION 8.1.2
17
17
18
18
RUN set -ex \
19
+ && buildDeps=' \
20
+ tcl-dev \
21
+ tk-dev \
22
+ ' \
23
+ && runDeps=' \
24
+ tcl \
25
+ tk \
26
+ ' \
27
+ && apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
19
28
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
20
29
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
21
30
&& export GNUPGHOME="$(mktemp -d)" \
@@ -42,6 +51,7 @@ RUN set -ex \
42
51
-o \
43
52
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
44
53
\) -exec rm -rf '{}' + \
54
+ && apt-get purge -y --auto-remove $buildDeps \
45
55
&& rm -rf /usr/src/python ~/.cache
46
56
47
57
# install "virtualenv", since the vast majority of users of this image will want it
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 3.3.6
16
16
ENV PYTHON_PIP_VERSION 8.1.2
17
17
18
18
RUN set -ex \
19
+ && buildDeps=' \
20
+ tcl-dev \
21
+ tk-dev \
22
+ ' \
23
+ && runDeps=' \
24
+ tcl \
25
+ tk \
26
+ ' \
27
+ && apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
19
28
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
20
29
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
21
30
&& export GNUPGHOME="$(mktemp -d)" \
@@ -42,6 +51,7 @@ RUN set -ex \
42
51
-o \
43
52
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
44
53
\) -exec rm -rf '{}' + \
54
+ && apt-get purge -y --auto-remove $buildDeps \
45
55
&& rm -rf /usr/src/python ~/.cache
46
56
47
57
# make some useful symlinks that are expected to exist
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ RUN set -ex \
35
35
pax-utils \
36
36
readline-dev \
37
37
sqlite-dev \
38
+ tcl-dev \
39
+ tk-dev \
38
40
xz-dev \
39
41
zlib-dev \
40
42
&& cd /usr/src/python \
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ RUN set -ex \
33
33
libsqlite3-dev \
34
34
libssl-dev \
35
35
make \
36
+ tcl-dev \
37
+ tk-dev \
36
38
xz-utils \
37
39
zlib1g-dev \
38
40
' \
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 3.3.6
16
16
ENV PYTHON_PIP_VERSION 8.1.2
17
17
18
18
RUN set -ex \
19
+ && buildDeps=' \
20
+ tcl-dev \
21
+ tk-dev \
22
+ ' \
23
+ && runDeps=' \
24
+ tcl \
25
+ tk \
26
+ ' \
27
+ && apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
19
28
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
20
29
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
21
30
&& export GNUPGHOME="$(mktemp -d)" \
@@ -42,6 +51,7 @@ RUN set -ex \
42
51
-o \
43
52
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
44
53
\) -exec rm -rf '{}' + \
54
+ && apt-get purge -y --auto-remove $buildDeps \
45
55
&& rm -rf /usr/src/python ~/.cache
46
56
47
57
# make some useful symlinks that are expected to exist
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 3.4.5
16
16
ENV PYTHON_PIP_VERSION 8.1.2
17
17
18
18
RUN set -ex \
19
+ && buildDeps=' \
20
+ tcl-dev \
21
+ tk-dev \
22
+ ' \
23
+ && runDeps=' \
24
+ tcl \
25
+ tk \
26
+ ' \
27
+ && apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
19
28
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
20
29
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
21
30
&& export GNUPGHOME="$(mktemp -d)" \
@@ -41,6 +50,7 @@ RUN set -ex \
41
50
-o \
42
51
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
43
52
\) -exec rm -rf '{}' + \
53
+ && apt-get purge -y --auto-remove $buildDeps \
44
54
&& rm -rf /usr/src/python ~/.cache
45
55
46
56
# make some useful symlinks that are expected to exist
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ RUN set -ex \
36
36
pax-utils \
37
37
readline-dev \
38
38
sqlite-dev \
39
+ tcl-dev \
40
+ tk-dev \
39
41
xz-dev \
40
42
zlib-dev \
41
43
&& cd /usr/src/python \
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ RUN set -ex \
33
33
libsqlite3-dev \
34
34
libssl-dev \
35
35
make \
36
+ tcl-dev \
37
+ tk-dev \
36
38
xz-utils \
37
39
zlib1g-dev \
38
40
' \
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 3.4.5
16
16
ENV PYTHON_PIP_VERSION 8.1.2
17
17
18
18
RUN set -ex \
19
+ && buildDeps=' \
20
+ tcl-dev \
21
+ tk-dev \
22
+ ' \
23
+ && runDeps=' \
24
+ tcl \
25
+ tk \
26
+ ' \
27
+ && apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
19
28
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
20
29
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
21
30
&& export GNUPGHOME="$(mktemp -d)" \
@@ -41,6 +50,7 @@ RUN set -ex \
41
50
-o \
42
51
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
43
52
\) -exec rm -rf '{}' + \
53
+ && apt-get purge -y --auto-remove $buildDeps \
44
54
&& rm -rf /usr/src/python ~/.cache
45
55
46
56
# make some useful symlinks that are expected to exist
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 3.5.2
16
16
ENV PYTHON_PIP_VERSION 8.1.2
17
17
18
18
RUN set -ex \
19
+ && buildDeps=' \
20
+ tcl-dev \
21
+ tk-dev \
22
+ ' \
23
+ && runDeps=' \
24
+ tcl \
25
+ tk \
26
+ ' \
27
+ && apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
19
28
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
20
29
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
21
30
&& export GNUPGHOME="$(mktemp -d)" \
@@ -41,6 +50,7 @@ RUN set -ex \
41
50
-o \
42
51
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
43
52
\) -exec rm -rf '{}' + \
53
+ && apt-get purge -y --auto-remove $buildDeps \
44
54
&& rm -rf /usr/src/python ~/.cache
45
55
46
56
# make some useful symlinks that are expected to exist
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ RUN set -ex \
36
36
pax-utils \
37
37
readline-dev \
38
38
sqlite-dev \
39
+ tcl-dev \
40
+ tk-dev \
39
41
xz-dev \
40
42
zlib-dev \
41
43
&& cd /usr/src/python \
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ RUN set -ex \
33
33
libsqlite3-dev \
34
34
libssl-dev \
35
35
make \
36
+ tcl-dev \
37
+ tk-dev \
36
38
xz-utils \
37
39
zlib1g-dev \
38
40
' \
Original file line number Diff line number Diff line change @@ -16,6 +16,15 @@ ENV PYTHON_VERSION 3.6.0a2
16
16
ENV PYTHON_PIP_VERSION 8.1.2
17
17
18
18
RUN set -ex \
19
+ && buildDeps=' \
20
+ tcl-dev \
21
+ tk-dev \
22
+ ' \
23
+ && runDeps=' \
24
+ tcl \
25
+ tk \
26
+ ' \
27
+ && apt-get update && apt-get install -y $runDeps $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
19
28
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" -o python.tar.xz \
20
29
&& curl -fSL "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" -o python.tar.xz.asc \
21
30
&& export GNUPGHOME="$(mktemp -d)" \
@@ -41,6 +50,7 @@ RUN set -ex \
41
50
-o \
42
51
\( -type f -a -name '*.pyc' -o -name '*.pyo' \) \
43
52
\) -exec rm -rf '{}' + \
53
+ && apt-get purge -y --auto-remove $buildDeps \
44
54
&& rm -rf /usr/src/python ~/.cache
45
55
46
56
# make some useful symlinks that are expected to exist
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ RUN set -ex \
36
36
pax-utils \
37
37
readline-dev \
38
38
sqlite-dev \
39
+ tcl-dev \
40
+ tk-dev \
39
41
xz-dev \
40
42
zlib-dev \
41
43
&& cd /usr/src/python \
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ RUN set -ex \
33
33
libsqlite3-dev \
34
34
libssl-dev \
35
35
make \
36
+ tcl-dev \
37
+ tk-dev \
36
38
xz-utils \
37
39
zlib1g-dev \
38
40
' \
You can’t perform that action at this time.
0 commit comments