Upgrade Python 3.6.1 → 3.6.2

This commit is contained in:
2017-09-18 12:17:50 +02:00
parent 869e228069
commit 6d9192f0ab
4 changed files with 7 additions and 8 deletions

View File

@@ -1 +0,0 @@
b0c5f904f685e32d9232f7bdcbece9819a892929063b6e385414ad2dd6a23622 Python-3.6.0.tar.xz

View File

@@ -1 +0,0 @@
a01810ddfcec216bcdb357a84bfaafdfaa0ca42bbdaa4cb7ff74f5a9961e4041 Python-3.6.1.tar.xz

View File

@@ -0,0 +1 @@
9229773be41ed144370f47f0f626a1579931f5a390f1e8e3853174d52edd64a9 Python-3.6.2.tar.xz

View File

@@ -11,13 +11,13 @@ RUN sed -i 's/^# deb-src/deb-src/' /etc/apt/sources.list && \
RUN apt-get build-dep -y python3.5
ADD Python-3.6.1.tar.xz.sha256 /Python-3.6.1.tar.xz.sha256
ADD Python-3.6.2.tar.xz.sha256 /Python-3.6.2.tar.xz.sha256
# Install Python sources
RUN curl -O https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tar.xz && \
sha256sum -c Python-3.6.1.tar.xz.sha256 && \
tar xf Python-3.6.1.tar.xz && \
rm -v Python-3.6.1.tar.xz
RUN curl -O https://www.python.org/ftp/python/3.6.2/Python-3.6.2.tar.xz && \
sha256sum -c Python-3.6.2.tar.xz.sha256 && \
tar xf Python-3.6.2.tar.xz && \
rm -v Python-3.6.2.tar.xz
# Install mod-wsgi sources
RUN mkdir -p /dpkg && cd /dpkg && apt-get source libapache2-mod-wsgi-py3
@@ -32,4 +32,4 @@ RUN echo /opt/python/lib > /etc/ld.so.conf.d/python.conf
RUN ldconfig
ENV PATH=/opt/python/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV PYTHONSOURCE=/Python-3.6.1
ENV PYTHONSOURCE=/Python-3.6.2