From f011c37131edcd68eba2b7bea5f8d3cbbb834c05 Mon Sep 17 00:00:00 2001 From: Jamie Hewland Date: Thu, 4 Aug 2016 12:36:37 +0200 Subject: [PATCH] Alpine: install ca-certificates --- 2.7/alpine/Dockerfile | 4 ++++ 3.3/alpine/Dockerfile | 4 ++++ 3.4/alpine/Dockerfile | 4 ++++ 3.5/alpine/Dockerfile | 4 ++++ 3.6/alpine/Dockerfile | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/2.7/alpine/Dockerfile b/2.7/alpine/Dockerfile index 056c49283..e8d14f343 100644 --- a/2.7/alpine/Dockerfile +++ b/2.7/alpine/Dockerfile @@ -4,6 +4,10 @@ FROM alpine:3.4 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 +# install ca-certificates so that HTTPS works consistently +# the other runtime dependencies for Python are installed later +RUN apk add --no-cache ca-certificates + # gpg: key 18ADD4FF: public key "Benjamin Peterson " imported ENV GPG_KEY C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF diff --git a/3.3/alpine/Dockerfile b/3.3/alpine/Dockerfile index e7d5d1fd7..4398c862e 100644 --- a/3.3/alpine/Dockerfile +++ b/3.3/alpine/Dockerfile @@ -4,6 +4,10 @@ FROM alpine:3.4 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 +# install ca-certificates so that HTTPS works consistently +# the other runtime dependencies for Python are installed later +RUN apk add --no-cache ca-certificates + # gpg: key 36580288: public key "Georg Brandl (Python release signing key) " imported ENV GPG_KEY 26DEA9D4613391EF3E25C9FF0A5B101836580288 diff --git a/3.4/alpine/Dockerfile b/3.4/alpine/Dockerfile index 57b9f784a..05df8512e 100644 --- a/3.4/alpine/Dockerfile +++ b/3.4/alpine/Dockerfile @@ -4,6 +4,10 @@ FROM alpine:3.4 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 +# install ca-certificates so that HTTPS works consistently +# the other runtime dependencies for Python are installed later +RUN apk add --no-cache ca-certificates + # gpg: key F73C700D: public key "Larry Hastings " imported ENV GPG_KEY 97FC712E4C024BBEA48A61ED3A5CA953F73C700D diff --git a/3.5/alpine/Dockerfile b/3.5/alpine/Dockerfile index ccae08c80..80691535e 100644 --- a/3.5/alpine/Dockerfile +++ b/3.5/alpine/Dockerfile @@ -4,6 +4,10 @@ FROM alpine:3.4 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 +# install ca-certificates so that HTTPS works consistently +# the other runtime dependencies for Python are installed later +RUN apk add --no-cache ca-certificates + # gpg: key F73C700D: public key "Larry Hastings " imported ENV GPG_KEY 97FC712E4C024BBEA48A61ED3A5CA953F73C700D diff --git a/3.6/alpine/Dockerfile b/3.6/alpine/Dockerfile index 45e1e0d9f..22b2fc6e7 100644 --- a/3.6/alpine/Dockerfile +++ b/3.6/alpine/Dockerfile @@ -4,6 +4,10 @@ FROM alpine:3.4 # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 +# install ca-certificates so that HTTPS works consistently +# the other runtime dependencies for Python are installed later +RUN apk add --no-cache ca-certificates + # gpg: key AA65421D: public key "Ned Deily (Python release signing key) " imported ENV GPG_KEY 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D