2018-01-10 05:30:30 UTC
27.9 MB
97FC712E4C024BBEA48A61ED3A5CA953F73C700D
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_VERSION3.5.4
[#000] sha256:81033e7c1d6a5b44a94bb6b40033a6e589f50fd6b61578da6fc809e61f83898d - 8.16% (2.28 MB)
[#001] sha256:9b61101706a679b3cfc55ce4e649bafb769c8a8028acf4ce5becef847e40dc3d - 1.19% (339 KB)
[#002] sha256:bb638c9b0742e105777bffd794676b870955ef6ebc6cc43316c5289ac1b76353 - 84.05% (23.5 MB)
[#003] sha256:2ce1f01ffb5d19dd6b11b28b9dd1bf329fdb100c34fdceddae73089802580f00 - 0.0% (228 Bytes)
[#004] sha256:e37e983ddc47c3b7b4e60836f53c7a73cccea073220473f2cf65016997ad18a0 - 6.61% (1.85 MB)
/bin/sh -c #(nop) ADD file:69848cb51056edaf120230b6f218a79968ac797295c2cef6728332e1801357be in /
2018-01-09 21:12:40 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2018-01-10 05:24:58 UTC/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2018-01-10 05:24:58 UTC/bin/sh -c #(nop) ENV LANG=C.UTF-8
2018-01-10 05:25:01 UTC/bin/sh -c apk add --no-cache ca-certificates
2018-01-10 05:28:09 UTC/bin/sh -c #(nop) ENV GPG_KEY=97FC712E4C024BBEA48A61ED3A5CA953F73C700D
2018-01-10 05:28:09 UTC/bin/sh -c #(nop) ENV PYTHON_VERSION=3.5.4
2018-01-10 05:30:20 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 expat-dev gcc gdbm-dev libc-dev libffi-dev linux-headers make ncurses-dev openssl openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev xz-dev zlib-dev && apk del .fetch-deps && cd /usr/src/python && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-shared --with-system-expat --with-system-ffi --without-ensurepip && make -j "$(nproc)" EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" && make install && runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )" && 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
2018-01-10 05:30:23 UTC/bin/sh -c cd /usr/local/bin && ln -s idle3 idle && ln -s pydoc3 pydoc && ln -s python3 python && ln -s python3-config python-config
2018-01-10 05:30:23 UTC/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=9.0.1
2018-01-10 05:30:30 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
2018-01-10 05:30:30 UTC/bin/sh -c #(nop) CMD ["python3"]
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.