diff --git a/.travis.yml b/.travis.yml index 24b2e11b1..ded932948 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,9 @@ language: bash services: docker env: - - VERSION=3.6 VARIANT= - - VERSION=3.6 VARIANT=slim - - VERSION=3.6 VARIANT=alpine + - VERSION=3.6-rc VARIANT= + - VERSION=3.6-rc VARIANT=slim + - VERSION=3.6-rc VARIANT=alpine - VERSION=3.5 VARIANT= - VERSION=3.5 VARIANT=slim - VERSION=3.5 VARIANT=alpine diff --git a/3.6/Dockerfile b/3.6-rc/Dockerfile similarity index 96% rename from 3.6/Dockerfile rename to 3.6-rc/Dockerfile index bc0af85b7..8240328c5 100644 --- a/3.6/Dockerfile +++ b/3.6-rc/Dockerfile @@ -1,3 +1,9 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + FROM buildpack-deps:jessie # ensure local python is preferred over distribution python @@ -14,7 +20,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && rm -rf /var/lib/apt/lists/* ENV GPG_KEY 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D -ENV PYTHON_VERSION 3.6.0b2 +ENV PYTHON_VERSION 3.6.0b3 # if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value ''" ENV PYTHON_PIP_VERSION 8.1.2 diff --git a/3.6/alpine/Dockerfile b/3.6-rc/alpine/Dockerfile similarity index 96% rename from 3.6/alpine/Dockerfile rename to 3.6-rc/alpine/Dockerfile index 1df353097..e183f8672 100644 --- a/3.6/alpine/Dockerfile +++ b/3.6-rc/alpine/Dockerfile @@ -1,3 +1,9 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + FROM alpine:3.4 # ensure local python is preferred over distribution python @@ -12,7 +18,7 @@ ENV LANG C.UTF-8 RUN apk add --no-cache ca-certificates ENV GPG_KEY 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D -ENV PYTHON_VERSION 3.6.0b2 +ENV PYTHON_VERSION 3.6.0b3 # if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value ''" ENV PYTHON_PIP_VERSION 8.1.2 diff --git a/3.6/onbuild/Dockerfile b/3.6-rc/onbuild/Dockerfile similarity index 61% rename from 3.6/onbuild/Dockerfile rename to 3.6-rc/onbuild/Dockerfile index 865aaa84c..0cf02adb3 100644 --- a/3.6/onbuild/Dockerfile +++ b/3.6-rc/onbuild/Dockerfile @@ -1,4 +1,10 @@ -FROM python:3.6 +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + +FROM python:3.6-rc RUN mkdir -p /usr/src/app WORKDIR /usr/src/app diff --git a/3.6/slim/Dockerfile b/3.6-rc/slim/Dockerfile similarity index 96% rename from 3.6/slim/Dockerfile rename to 3.6-rc/slim/Dockerfile index 842390d0d..fcc4988ef 100644 --- a/3.6/slim/Dockerfile +++ b/3.6-rc/slim/Dockerfile @@ -1,3 +1,9 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + FROM debian:jessie # ensure local python is preferred over distribution python @@ -16,7 +22,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && rm -rf /var/lib/apt/lists/* ENV GPG_KEY 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D -ENV PYTHON_VERSION 3.6.0b2 +ENV PYTHON_VERSION 3.6.0b3 # if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value ''" ENV PYTHON_PIP_VERSION 8.1.2 diff --git a/3.6/windows/windowsservercore/Dockerfile b/3.6-rc/windows/windowsservercore/Dockerfile similarity index 93% rename from 3.6/windows/windowsservercore/Dockerfile rename to 3.6-rc/windows/windowsservercore/Dockerfile index 771a30a82..fb03d2033 100644 --- a/3.6/windows/windowsservercore/Dockerfile +++ b/3.6-rc/windows/windowsservercore/Dockerfile @@ -1,8 +1,14 @@ +# +# NOTE: THIS DOCKERFILE IS GENERATED VIA "update.sh" +# +# PLEASE DO NOT EDIT IT DIRECTLY. +# + FROM microsoft/windowsservercore SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop';"] -ENV PYTHON_VERSION 3.6.0b2 +ENV PYTHON_VERSION 3.6.0b3 ENV PYTHON_RELEASE 3.6.0 # if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value ''" diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index 92bf0e3b9..43bf4a539 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -2,6 +2,7 @@ set -eu declare -A aliases=( + [3.6-rc]='rc' [3.5]='3 latest' [2.7]='2' ) diff --git a/update.sh b/update.sh index fae90ae29..49d9a9fe8 100755 --- a/update.sh +++ b/update.sh @@ -47,18 +47,31 @@ generated_warning() { travisEnv= for version in "${versions[@]}"; do - # Python 2.7.8 - # Python 3.4.1 - fullVersion="$(curl -fsSL 'https://www.python.org/downloads/' | awk -F 'Python |' '/]+>Python '"$version"'./ { print $2 }' | grep -v 'rc' | sort -V | tail -1)" - # TODO figure out a better way to handle RCs than just filtering them out + rcGrepV='-v' + rcVersion="${version%-rc}" + if [ "$rcVersion" != "$version" ]; then + rcGrepV= + fi + + possibles=( $(curl -fsSL 'https://www.python.org/ftp/python/' | grep '&2 + exit 1 else if [[ "$version" != 2.* ]]; then for variant in \ @@ -86,7 +99,7 @@ for version in "${versions[@]}"; do ( set -x sed -ri \ - -e 's/^(ENV GPG_KEY) .*/\1 '"${gpgKeys[$version]}"'/' \ + -e 's/^(ENV GPG_KEY) .*/\1 '"${gpgKeys[$rcVersion]}"'/' \ -e 's/^(ENV PYTHON_VERSION) .*/\1 '"$fullVersion"'/' \ -e 's/^(ENV PYTHON_RELEASE) .*/\1 '"${fullVersion%%[a-z]*}"'/' \ -e 's/^(ENV PYTHON_PIP_VERSION) .*/\1 '"$pipVersion"'/' \ 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