Skip to content

Commit fbfab37

Browse files
committed
Add tcl and tk as runtime dependencies to non-slim images for tkinter
...support * docker-library/python#127
1 parent f61a497 commit fbfab37

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

2/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ ENV PATH /usr/local/bin:$PATH
77
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
88
ENV LANG C.UTF-8
99

10+
# runtime dependencies
11+
RUN apt-get update && apt-get install -y --no-install-recommends \
12+
tcl \
13+
tk \
14+
&& rm -rf /var/lib/apt/lists/*
15+
1016
ENV PYPY_VERSION 5.4.0
1117

1218
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"

3/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ ENV PATH /usr/local/bin:$PATH
77
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
88
ENV LANG C.UTF-8
99

10+
# runtime dependencies
11+
RUN apt-get update && apt-get install -y --no-install-recommends \
12+
tcl \
13+
tk \
14+
&& rm -rf /var/lib/apt/lists/*
15+
1016
ENV PYPY_VERSION 5.2.0-alpha1
1117

1218
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"

0 commit comments

Comments
 (0)