From 9cdb6eeb857908d3817cdd46f63e3b954f3072ae Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Fri, 3 Oct 2014 14:52:08 -0600 Subject: [PATCH] Fix update.sh to not mistakenly capture RCs (and thus push 3.4 down to 3.4.1, since 3.4.2 isn't actually out yet) --- 3.4/Dockerfile | 2 +- 3.4/onbuild/Dockerfile | 2 +- update.sh | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/3.4/Dockerfile b/3.4/Dockerfile index 417c4f37d..dab31cc42 100644 --- a/3.4/Dockerfile +++ b/3.4/Dockerfile @@ -12,7 +12,7 @@ WORKDIR /usr/src/python # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 -ENV PYTHON_VERSION 3.4.2 +ENV PYTHON_VERSION 3.4.1 RUN curl -SL "https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tar.xz" \ | tar -xJ --strip-components=1 diff --git a/3.4/onbuild/Dockerfile b/3.4/onbuild/Dockerfile index e7bee7a4b..184cb325a 100644 --- a/3.4/onbuild/Dockerfile +++ b/3.4/onbuild/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.4.2 +FROM python:3.4.1 RUN mkdir -p /usr/src/app WORKDIR /usr/src/app diff --git a/update.sh b/update.sh index 04405613a..3dfa6d569 100755 --- a/update.sh +++ b/update.sh @@ -10,7 +10,9 @@ fi versions=( "${versions[@]%/}" ) for version in "${versions[@]}"; do - fullVersion="$(curl -sSL 'https://www.python.org/ftp/python/' | grep 'Python 2.7.8 + # Python 3.4.1 + fullVersion="$(curl -sSL 'https://www.python.org/downloads/' | awk -F 'Python |' '/]+>Python '"$version"'./ { print $2 }' | sort -V | tail -1)" ( set -x sed -ri 's/^(ENV PYTHON_VERSION) .*/\1 '"$fullVersion"'/' "$version/Dockerfile" 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