Skip to content

Commit 20a35d0

Browse files
committed
Add 3.3.7rc1
1 parent 5d33da7 commit 20a35d0

File tree

7 files changed

+460
-1
lines changed

7 files changed

+460
-1
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ env:
1414
- VERSION=3.4 VARIANT=jessie/slim
1515
- VERSION=3.4 VARIANT=wheezy
1616
- VERSION=3.4 VARIANT=alpine3.4
17+
- VERSION=3.3-rc VARIANT=jessie
18+
- VERSION=3.3-rc VARIANT=jessie/slim
19+
- VERSION=3.3-rc VARIANT=wheezy
20+
- VERSION=3.3-rc VARIANT=alpine3.4
1721
- VERSION=3.3 VARIANT=jessie
1822
- VERSION=3.3 VARIANT=jessie/slim
1923
- VERSION=3.3 VARIANT=wheezy

3.3-rc/alpine3.4/Dockerfile

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
7+
FROM alpine:3.4
8+
9+
# ensure local python is preferred over distribution python
10+
ENV PATH /usr/local/bin:$PATH
11+
12+
# http://bugs.python.org/issue19846
13+
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
14+
ENV LANG C.UTF-8
15+
16+
# install ca-certificates so that HTTPS works consistently
17+
# the other runtime dependencies for Python are installed later
18+
RUN apk add --no-cache ca-certificates
19+
20+
ENV GPG_KEY 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
21+
ENV PYTHON_VERSION 3.3.7rc1
22+
23+
RUN set -ex \
24+
&& apk add --no-cache --virtual .fetch-deps \
25+
gnupg \
26+
openssl \
27+
tar \
28+
xz \
29+
\
30+
&& wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" \
31+
&& wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" \
32+
&& export GNUPGHOME="$(mktemp -d)" \
33+
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" \
34+
&& gpg --batch --verify python.tar.xz.asc python.tar.xz \
35+
&& rm -rf "$GNUPGHOME" python.tar.xz.asc \
36+
&& mkdir -p /usr/src/python \
37+
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
38+
&& rm python.tar.xz \
39+
\
40+
&& apk add --no-cache --virtual .build-deps \
41+
bzip2-dev \
42+
coreutils \
43+
dpkg-dev dpkg \
44+
expat-dev \
45+
gcc \
46+
gdbm-dev \
47+
libc-dev \
48+
libffi-dev \
49+
linux-headers \
50+
make \
51+
ncurses-dev \
52+
openssl \
53+
openssl-dev \
54+
pax-utils \
55+
readline-dev \
56+
sqlite-dev \
57+
tcl-dev \
58+
tk \
59+
tk-dev \
60+
xz-dev \
61+
zlib-dev \
62+
# add build deps before removing fetch deps in case there's overlap
63+
&& apk del .fetch-deps \
64+
\
65+
&& cd /usr/src/python \
66+
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
67+
&& ./configure \
68+
--build="$gnuArch" \
69+
--enable-loadable-sqlite-extensions \
70+
--enable-shared \
71+
--with-system-expat \
72+
--with-system-ffi \
73+
--without-ensurepip \
74+
&& make -j "$(nproc)" \
75+
&& make install \
76+
\
77+
&& runDeps="$( \
78+
scanelf --needed --nobanner --recursive /usr/local \
79+
| awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' \
80+
| sort -u \
81+
| xargs -r apk info --installed \
82+
| sort -u \
83+
)" \
84+
&& apk add --virtual .python-rundeps $runDeps \
85+
&& apk del .build-deps \
86+
\
87+
&& find /usr/local -depth \
88+
\( \
89+
\( -type d -a \( -name test -o -name tests \) \) \
90+
-o \
91+
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
92+
\) -exec rm -rf '{}' + \
93+
&& rm -rf /usr/src/python
94+
95+
# make some useful symlinks that are expected to exist
96+
RUN cd /usr/local/bin \
97+
&& ln -s idle3 idle \
98+
&& ln -s pydoc3 pydoc \
99+
&& ln -s python3 python \
100+
&& ln -s python3-config python-config
101+
102+
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
103+
ENV PYTHON_PIP_VERSION 9.0.1
104+
105+
RUN set -ex; \
106+
\
107+
apk add --no-cache --virtual .fetch-deps openssl; \
108+
\
109+
wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
110+
\
111+
apk del .fetch-deps; \
112+
\
113+
python get-pip.py \
114+
--disable-pip-version-check \
115+
--no-cache-dir \
116+
"pip==$PYTHON_PIP_VERSION" \
117+
; \
118+
pip --version; \
119+
\
120+
find /usr/local -depth \
121+
\( \
122+
\( -type d -a \( -name test -o -name tests \) \) \
123+
-o \
124+
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
125+
\) -exec rm -rf '{}' +; \
126+
rm -f get-pip.py
127+
128+
CMD ["python3"]

3.3-rc/jessie/Dockerfile

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
7+
FROM buildpack-deps:jessie
8+
9+
# ensure local python is preferred over distribution python
10+
ENV PATH /usr/local/bin:$PATH
11+
12+
# http://bugs.python.org/issue19846
13+
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
14+
ENV LANG C.UTF-8
15+
16+
# runtime dependencies
17+
RUN apt-get update && apt-get install -y --no-install-recommends \
18+
tcl \
19+
tk \
20+
&& rm -rf /var/lib/apt/lists/*
21+
22+
ENV GPG_KEY 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
23+
ENV PYTHON_VERSION 3.3.7rc1
24+
25+
RUN set -ex \
26+
&& buildDeps=' \
27+
dpkg-dev \
28+
tcl-dev \
29+
tk-dev \
30+
' \
31+
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
32+
\
33+
&& wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" \
34+
&& wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" \
35+
&& export GNUPGHOME="$(mktemp -d)" \
36+
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" \
37+
&& gpg --batch --verify python.tar.xz.asc python.tar.xz \
38+
&& rm -rf "$GNUPGHOME" python.tar.xz.asc \
39+
&& mkdir -p /usr/src/python \
40+
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
41+
&& rm python.tar.xz \
42+
\
43+
&& cd /usr/src/python \
44+
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
45+
&& ./configure \
46+
--build="$gnuArch" \
47+
--enable-loadable-sqlite-extensions \
48+
--enable-shared \
49+
--with-system-expat \
50+
--with-system-ffi \
51+
--without-ensurepip \
52+
&& make -j "$(nproc)" \
53+
&& make install \
54+
&& ldconfig \
55+
\
56+
&& apt-get purge -y --auto-remove $buildDeps \
57+
\
58+
&& find /usr/local -depth \
59+
\( \
60+
\( -type d -a \( -name test -o -name tests \) \) \
61+
-o \
62+
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
63+
\) -exec rm -rf '{}' + \
64+
&& rm -rf /usr/src/python
65+
66+
# make some useful symlinks that are expected to exist
67+
RUN cd /usr/local/bin \
68+
&& ln -s idle3 idle \
69+
&& ln -s pydoc3 pydoc \
70+
&& ln -s python3 python \
71+
&& ln -s python3-config python-config
72+
73+
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
74+
ENV PYTHON_PIP_VERSION 9.0.1
75+
76+
RUN set -ex; \
77+
\
78+
wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
79+
\
80+
python get-pip.py \
81+
--disable-pip-version-check \
82+
--no-cache-dir \
83+
"pip==$PYTHON_PIP_VERSION" \
84+
; \
85+
pip --version; \
86+
\
87+
find /usr/local -depth \
88+
\( \
89+
\( -type d -a \( -name test -o -name tests \) \) \
90+
-o \
91+
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
92+
\) -exec rm -rf '{}' +; \
93+
rm -f get-pip.py
94+
95+
CMD ["python3"]

3.3-rc/jessie/onbuild/Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
7+
FROM python:3.3-rc
8+
9+
RUN mkdir -p /usr/src/app
10+
WORKDIR /usr/src/app
11+
12+
ONBUILD COPY requirements.txt /usr/src/app/
13+
ONBUILD RUN pip install --no-cache-dir -r requirements.txt
14+
15+
ONBUILD COPY . /usr/src/app

3.3-rc/jessie/slim/Dockerfile

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
#
2+
# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh"
3+
#
4+
# PLEASE DO NOT EDIT IT DIRECTLY.
5+
#
6+
7+
FROM debian:jessie
8+
9+
# ensure local python is preferred over distribution python
10+
ENV PATH /usr/local/bin:$PATH
11+
12+
# http://bugs.python.org/issue19846
13+
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
14+
ENV LANG C.UTF-8
15+
16+
# runtime dependencies
17+
RUN apt-get update && apt-get install -y --no-install-recommends \
18+
ca-certificates \
19+
libexpat1 \
20+
libffi6 \
21+
libgdbm3 \
22+
libsqlite3-0 \
23+
libssl1.0.0 \
24+
&& rm -rf /var/lib/apt/lists/*
25+
26+
ENV GPG_KEY 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
27+
ENV PYTHON_VERSION 3.3.7rc1
28+
29+
RUN set -ex \
30+
&& buildDeps=' \
31+
dpkg-dev \
32+
gcc \
33+
libbz2-dev \
34+
libc6-dev \
35+
libexpat1-dev \
36+
libffi-dev \
37+
libgdbm-dev \
38+
liblzma-dev \
39+
libncurses-dev \
40+
libreadline-dev \
41+
libsqlite3-dev \
42+
libssl-dev \
43+
make \
44+
tcl-dev \
45+
tk-dev \
46+
wget \
47+
xz-utils \
48+
zlib1g-dev \
49+
' \
50+
&& apt-get update && apt-get install -y $buildDeps --no-install-recommends && rm -rf /var/lib/apt/lists/* \
51+
\
52+
&& wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" \
53+
&& wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" \
54+
&& export GNUPGHOME="$(mktemp -d)" \
55+
&& gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" \
56+
&& gpg --batch --verify python.tar.xz.asc python.tar.xz \
57+
&& rm -rf "$GNUPGHOME" python.tar.xz.asc \
58+
&& mkdir -p /usr/src/python \
59+
&& tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \
60+
&& rm python.tar.xz \
61+
\
62+
&& cd /usr/src/python \
63+
&& gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \
64+
&& ./configure \
65+
--build="$gnuArch" \
66+
--enable-loadable-sqlite-extensions \
67+
--enable-shared \
68+
--with-system-expat \
69+
--with-system-ffi \
70+
--without-ensurepip \
71+
&& make -j "$(nproc)" \
72+
&& make install \
73+
&& ldconfig \
74+
\
75+
&& apt-get purge -y --auto-remove $buildDeps \
76+
\
77+
&& find /usr/local -depth \
78+
\( \
79+
\( -type d -a \( -name test -o -name tests \) \) \
80+
-o \
81+
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
82+
\) -exec rm -rf '{}' + \
83+
&& rm -rf /usr/src/python
84+
85+
# make some useful symlinks that are expected to exist
86+
RUN cd /usr/local/bin \
87+
&& ln -s idle3 idle \
88+
&& ln -s pydoc3 pydoc \
89+
&& ln -s python3 python \
90+
&& ln -s python3-config python-config
91+
92+
# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value '<VERSION>'"
93+
ENV PYTHON_PIP_VERSION 9.0.1
94+
95+
RUN set -ex; \
96+
\
97+
apt-get update; \
98+
apt-get install -y --no-install-recommends wget; \
99+
rm -rf /var/lib/apt/lists/*; \
100+
\
101+
wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \
102+
\
103+
apt-get purge -y --auto-remove wget; \
104+
\
105+
python get-pip.py \
106+
--disable-pip-version-check \
107+
--no-cache-dir \
108+
"pip==$PYTHON_PIP_VERSION" \
109+
; \
110+
pip --version; \
111+
\
112+
find /usr/local -depth \
113+
\( \
114+
\( -type d -a \( -name test -o -name tests \) \) \
115+
-o \
116+
\( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \
117+
\) -exec rm -rf '{}' +; \
118+
rm -f get-pip.py
119+
120+
CMD ["python3"]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy