We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eb9ef6 commit 9d2859cCopy full SHA for 9d2859c
2/Dockerfile
@@ -0,0 +1,18 @@
1
+FROM buildpack-deps
2
+
3
+RUN apt-get update && apt-get install -y curl procps
4
5
+# remove several traces of debian python
6
+RUN apt-get purge -y python python-minimal python2.7-minimal
7
8
+RUN mkdir /usr/src/python
9
+WORKDIR /usr/src/python
10
+RUN curl -SL https://www.python.org/ftp/python/2.7.7/Python-2.7.7.tar.xz \
11
+ | tar -xJ --strip-components=1 \
12
+ && ./configure \
13
+ && make -j$(nproc) \
14
+ && make -j$(nproc) EXTRATESTOPTS='--exclude test_file2k' test \
15
+ && make install \
16
+ && make clean
17
18
+CMD ["python2"]
0 commit comments