diff --git a/2.7/alpine/Dockerfile b/2.7/alpine/Dockerfile index 2e2a5a064..49e18ed15 100644 --- a/2.7/alpine/Dockerfile +++ b/2.7/alpine/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.4 +FROM pipill/armhf-alpine:3.4 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH @@ -7,6 +7,8 @@ ENV PATH /usr/local/bin:$PATH # > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. ENV LANG C.UTF-8 +RUN [ "cross-build-start" ] + # install ca-certificates so that HTTPS works consistently # the other runtime dependencies for Python are installed later RUN apk add --no-cache ca-certificates @@ -106,4 +108,6 @@ RUN set -ex; \ \) -exec rm -rf '{}' +; \ rm -f get-pip.py +RUN [ "cross-build-end" ] + CMD ["python2"]