Upgrade Python 3.6.1 → 3.6.2
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user