From 035ae189e63b9e6a9e3c9de61beea16ecd4c0dd5 Mon Sep 17 00:00:00 2001 From: wanglilong007 Date: Wed, 12 Jul 2017 18:52:26 +0800 Subject: [PATCH 1/8] Update Dockerfile --- 2.7/alpine3.6/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2.7/alpine3.6/Dockerfile b/2.7/alpine3.6/Dockerfile index 609cb9c56..d4b68cf30 100644 --- a/2.7/alpine3.6/Dockerfile +++ b/2.7/alpine3.6/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3.6 +FROM alpine-base:3.6 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH From 2517da236ab270294928b49372e40547eefb46d8 Mon Sep 17 00:00:00 2001 From: wanglilong007 Date: Wed, 12 Jul 2017 18:53:19 +0800 Subject: [PATCH 2/8] Update Dockerfile --- 2.7/alpine3.6/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2.7/alpine3.6/Dockerfile b/2.7/alpine3.6/Dockerfile index d4b68cf30..ec72dfd65 100644 --- a/2.7/alpine3.6/Dockerfile +++ b/2.7/alpine3.6/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine-base:3.6 +FROM hicloudcmp/alpine-base:3.6 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH From 63144b1a1279e7075ce5773e050ae565553ac54d Mon Sep 17 00:00:00 2001 From: wanglilong007 Date: Fri, 14 Jul 2017 11:35:37 +0800 Subject: [PATCH 3/8] Update Dockerfile --- 2.7/alpine3.6/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2.7/alpine3.6/Dockerfile b/2.7/alpine3.6/Dockerfile index ec72dfd65..cd1334133 100644 --- a/2.7/alpine3.6/Dockerfile +++ b/2.7/alpine3.6/Dockerfile @@ -1,4 +1,4 @@ -FROM hicloudcmp/alpine-base:3.6 +FROM cmp1234/alpine-base:3.6 # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH From 8ad863e4a8b3613e7452a7a2837f0698fcc537d7 Mon Sep 17 00:00:00 2001 From: wanglilong007 Date: Mon, 24 Jul 2017 15:05:02 +0800 Subject: [PATCH 4/8] Update Dockerfile --- 2.7/alpine3.6/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/2.7/alpine3.6/Dockerfile b/2.7/alpine3.6/Dockerfile index cd1334133..940e4fcab 100644 --- a/2.7/alpine3.6/Dockerfile +++ b/2.7/alpine3.6/Dockerfile @@ -14,6 +14,8 @@ RUN apk add --no-cache ca-certificates ENV GPG_KEY C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF ENV PYTHON_VERSION 2.7.13 +RUN adduser -u 18345 -D cmp + RUN set -ex \ && apk add --no-cache --virtual .fetch-deps \ gnupg \ @@ -106,4 +108,5 @@ RUN set -ex; \ \) -exec rm -rf '{}' +; \ rm -f get-pip.py +WORKDIR /home/cmp CMD ["python2"] From e513280ecb07ec84b035d47a5d50ec8536f503a4 Mon Sep 17 00:00:00 2001 From: wanglilong007 Date: Sun, 30 Jul 2017 10:25:10 +0800 Subject: [PATCH 5/8] Update Dockerfile --- 2.7/alpine3.6/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2.7/alpine3.6/Dockerfile b/2.7/alpine3.6/Dockerfile index 940e4fcab..0abbc44e1 100644 --- a/2.7/alpine3.6/Dockerfile +++ b/2.7/alpine3.6/Dockerfile @@ -1,4 +1,4 @@ -FROM cmp1234/alpine-base:3.6 +FROM cmp1234/alpine-bash # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH From 214caf4272d8ac73ddd812ca3a67f7bc79e7b34e Mon Sep 17 00:00:00 2001 From: wanglilong007 Date: Sun, 6 Aug 2017 15:07:21 +0800 Subject: [PATCH 6/8] Update Dockerfile --- 2.7/alpine3.6/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/2.7/alpine3.6/Dockerfile b/2.7/alpine3.6/Dockerfile index 0abbc44e1..566bd50cd 100644 --- a/2.7/alpine3.6/Dockerfile +++ b/2.7/alpine3.6/Dockerfile @@ -1,4 +1,5 @@ -FROM cmp1234/alpine-bash +FROM alpine:3.6 +#FROM cmp1234/alpine-bash # ensure local python is preferred over distribution python ENV PATH /usr/local/bin:$PATH From 410a61b40ca787dae6ba513c7311f316bead024b Mon Sep 17 00:00:00 2001 From: wanglilong Date: Sun, 6 Aug 2017 03:11:38 -0400 Subject: [PATCH 7/8] change dockerfile --- 2.7/alpine3.6/Dockerfile | 70 ++-------------------------------------- 1 file changed, 2 insertions(+), 68 deletions(-) diff --git a/2.7/alpine3.6/Dockerfile b/2.7/alpine3.6/Dockerfile index 0abbc44e1..386f2b792 100644 --- a/2.7/alpine3.6/Dockerfile +++ b/2.7/alpine3.6/Dockerfile @@ -9,78 +9,12 @@ 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 ENV GPG_KEY C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF ENV PYTHON_VERSION 2.7.13 -RUN adduser -u 18345 -D cmp - -RUN set -ex \ - && apk add --no-cache --virtual .fetch-deps \ - gnupg \ - libressl \ - tar \ - xz \ - \ - && wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz" \ - && wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc" \ - && export GNUPGHOME="$(mktemp -d)" \ - && gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$GPG_KEY" \ - && gpg --batch --verify python.tar.xz.asc python.tar.xz \ - && rm -rf "$GNUPGHOME" python.tar.xz.asc \ - && mkdir -p /usr/src/python \ - && tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \ - && rm python.tar.xz \ - \ - && apk add --no-cache --virtual .build-deps \ - bzip2-dev \ - coreutils \ - dpkg-dev dpkg \ - gcc \ - gdbm-dev \ - libc-dev \ - linux-headers \ - make \ - ncurses-dev \ - libressl \ - libressl-dev \ - pax-utils \ - readline-dev \ - sqlite-dev \ - tcl-dev \ - tk \ - tk-dev \ - zlib-dev \ -# add build deps before removing fetch deps in case there's overlap - && apk del .fetch-deps \ - \ - && cd /usr/src/python \ - && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" \ - && ./configure \ - --build="$gnuArch" \ - --enable-shared \ - --enable-unicode=ucs4 \ - && make -j "$(nproc)" \ - && make install \ - \ - && runDeps="$( \ - scanelf --needed --nobanner --recursive /usr/local \ - | awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' \ - | sort -u \ - | xargs -r apk info --installed \ - | sort -u \ - )" \ - && apk add --virtual .python-rundeps $runDeps \ - && apk del .build-deps \ - \ - && find /usr/local -depth \ - \( \ - \( -type d -a -name test -o -name tests \) \ - -o \ - \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \ - \) -exec rm -rf '{}' + \ - && rm -rf /usr/src/python +RUN adduser -u 18345 -D cmp \ + && apk add --no-cache python2=2.7.13-r1 ca-certificates # if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value ''" ENV PYTHON_PIP_VERSION 9.0.1 From 48c9159504189d173a6811ef59ded2b445469161 Mon Sep 17 00:00:00 2001 From: wanglilong Date: Sun, 6 Aug 2017 03:12:56 -0400 Subject: [PATCH 8/8] ddd --- 2.7/alpine3.6/Dockerfile | 46 ---------------------------------------- 1 file changed, 46 deletions(-) diff --git a/2.7/alpine3.6/Dockerfile b/2.7/alpine3.6/Dockerfile index 386f2b792..e69de29bb 100644 --- a/2.7/alpine3.6/Dockerfile +++ b/2.7/alpine3.6/Dockerfile @@ -1,46 +0,0 @@ -FROM cmp1234/alpine-bash - -# ensure local python is preferred over distribution python -ENV PATH /usr/local/bin:$PATH - -# http://bugs.python.org/issue19846 -# > 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 - -ENV GPG_KEY C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF -ENV PYTHON_VERSION 2.7.13 - -RUN adduser -u 18345 -D cmp \ - && apk add --no-cache python2=2.7.13-r1 ca-certificates - -# if this is called "PIP_VERSION", pip explodes with "ValueError: invalid truth value ''" -ENV PYTHON_PIP_VERSION 9.0.1 - -RUN set -ex; \ - \ - apk add --no-cache --virtual .fetch-deps libressl; \ - \ - wget -O get-pip.py 'https://bootstrap.pypa.io/get-pip.py'; \ - \ - apk del .fetch-deps; \ - \ - python get-pip.py \ - --disable-pip-version-check \ - --no-cache-dir \ - "pip==$PYTHON_PIP_VERSION" \ - ; \ - pip --version; \ - \ - find /usr/local -depth \ - \( \ - \( -type d -a -name test -o -name tests \) \ - -o \ - \( -type f -a -name '*.pyc' -o -name '*.pyo' \) \ - \) -exec rm -rf '{}' +; \ - rm -f get-pip.py - -WORKDIR /home/cmp -CMD ["python2"] 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