2017-09-15 14:42:09 UTC
23.6 MB
C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_PIP_VERSION9.0.1
PYTHON_VERSION2.7.13
[#000] sha256:90f4dba627d65ea3223761bcfe54e726337a919fe98117ef107914f91be657c9 - 9.66% (2.27 MB)
[#001] sha256:a615e2cf13bbd78adf2e4a92c4faf19c50e737ccce68b52888f60b9570d3444d - 1.4% (339 KB)
[#002] sha256:2e911db79bd7891a8637eb97a6cf9f1b781c2e0c37cdcfe313691912cccc48d6 - 81.15% (19.1 MB)
[#003] sha256:206337ed2b091a79fd2f13b759efe7bd2c786529f6b146b6835d006a1b4223f5 - 7.78% (1.83 MB)
/bin/sh -c #(nop) ADD file:89e72bfc19e81624ba6a34bd5cecdf258750dc569ba03e17e3f4a286b1526461 in /
2017-09-13 14:32:15 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2017-09-13 14:33:02 UTC/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2017-09-13 14:33:03 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2017-09-13 14:33:06 UTC/bin/sh -c apk add --no-cache ca-certificates
2017-09-14 23:55:42 UTC/bin/sh -c #(nop) ENV GPG_KEY=C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF
2017-09-14 23:55:42 UTC/bin/sh -c #(nop) ENV PYTHON_VERSION=2.7.13
2017-09-15 14:42:00 UTC/bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps gnupg openssl 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 openssl openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev zlib-dev && 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
2017-09-15 14:42:00 UTC/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=9.0.1
2017-09-15 14:42:09 UTC/bin/sh -c set -ex; apk add --no-cache --virtual .fetch-deps openssl; 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
2017-09-15 14:42:09 UTC/bin/sh -c #(nop) CMD ["python2"]
Please be careful as this will not just delete the reference but also the actual content!
For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.