File tree Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,16 @@ RUN apt-get purge -y python.*
7
7
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
8
8
ENV LANG C.UTF-8
9
9
10
- RUN apt-get update && apt-get install -y ca-certificates libssl1.0.0 --no-install-recommends && rm -rf /var/lib/apt/lists/*
10
+ RUN apt-get update && apt-get install -y --no-install-recommends \
11
+ ca-certificates \
12
+ libsqlite3-0 \
13
+ libssl1.0.0 \
14
+ && rm -rf /var/lib/apt/lists/*
11
15
12
16
ENV PYTHON_VERSION 2.7.8
13
17
14
18
RUN set -x \
15
- && buildDeps='curl gcc libc6-dev libssl-dev make xz-utils zlib1g-dev' \
19
+ && buildDeps='curl gcc libc6-dev libsqlite3-dev libssl-dev make xz-utils zlib1g-dev' \
16
20
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
17
21
&& mkdir -p /usr/src/python \
18
22
&& curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" \
Original file line number Diff line number Diff line change @@ -7,12 +7,16 @@ RUN apt-get purge -y python.*
7
7
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
8
8
ENV LANG C.UTF-8
9
9
10
- RUN apt-get update && apt-get install -y ca-certificates libssl1.0.0 --no-install-recommends && rm -rf /var/lib/apt/lists/*
10
+ RUN apt-get update && apt-get install -y --no-install-recommends \
11
+ ca-certificates \
12
+ libsqlite3-0 \
13
+ libssl1.0.0 \
14
+ && rm -rf /var/lib/apt/lists/*
11
15
12
16
ENV PYTHON_VERSION 3.3.6
13
17
14
18
RUN set -x \
15
- && buildDeps='curl gcc libc6-dev libssl-dev make xz-utils zlib1g-dev' \
19
+ && buildDeps='curl gcc libc6-dev libsqlite3-dev libssl-dev make xz-utils zlib1g-dev' \
16
20
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
17
21
&& mkdir -p /usr/src/python \
18
22
&& curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" \
Original file line number Diff line number Diff line change @@ -7,12 +7,16 @@ RUN apt-get purge -y python.*
7
7
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
8
8
ENV LANG C.UTF-8
9
9
10
- RUN apt-get update && apt-get install -y ca-certificates libssl1.0.0 --no-install-recommends && rm -rf /var/lib/apt/lists/*
10
+ RUN apt-get update && apt-get install -y --no-install-recommends \
11
+ ca-certificates \
12
+ libsqlite3-0 \
13
+ libssl1.0.0 \
14
+ && rm -rf /var/lib/apt/lists/*
11
15
12
16
ENV PYTHON_VERSION 3.4.2
13
17
14
18
RUN set -x \
15
- && buildDeps='curl gcc libc6-dev libssl-dev make xz-utils zlib1g-dev' \
19
+ && buildDeps='curl gcc libc6-dev libsqlite3-dev libssl-dev make xz-utils zlib1g-dev' \
16
20
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
17
21
&& mkdir -p /usr/src/python \
18
22
&& curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" \
You can’t perform that action at this time.
0 commit comments