镜像构建历史
# 2021-11-30 11:56:36 0.00B
/bin/sh -c #(nop) CMD ["python3"]
# 2021-11-30 11:56:36 8.05MB
/bin/sh -c set -ex; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; python get-pip.py --disable-pip-version-check --no-cache-dir "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; pip --version; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \) -exec rm -rf '{}' +; rm -f get-pip.py
# 2021-11-30 11:56:28 0.00B
/bin/sh -c #(nop) ENV PYTHON_GET_PIP_SHA256=c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309
# 2021-11-30 11:56:28 0.00B
/bin/sh -c #(nop) ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py
# 2021-11-30 11:56:28 0.00B
/bin/sh -c #(nop) ENV PYTHON_SETUPTOOLS_VERSION=57.5.0
# 2021-11-30 11:56:28 0.00B
/bin/sh -c #(nop) ENV PYTHON_PIP_VERSION=21.2.4
# 2021-11-30 11:56:28 32.00B
/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
# 2021-11-30 11:56:27 26.51MB
/bin/sh -c set -ex && apk add --no-cache --virtual .fetch-deps gnupg 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 --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY" && gpg --batch --verify python.tar.xz.asc python.tar.xz && { command -v gpgconf > /dev/null && gpgconf --kill all || :; } && 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 bluez-dev bzip2-dev coreutils dpkg-dev dpkg expat-dev findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev xz-dev zlib-dev && apk del --no-network .fetch-deps && cd /usr/src/python && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-system-expat --with-system-ffi --without-ensurepip && make -j "$(nproc)" EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000" LDFLAGS="-Wl,--strip-all" PROFILE_TASK='-m test.regrtest --pgo test_array test_base64 test_binascii test_binhex test_binop test_bytes test_c_locale_coercion test_class test_cmath test_codecs test_compile test_complex test_csv test_decimal test_dict test_float test_fstring test_hashlib test_io test_iter test_json test_long test_math test_memoryview test_pickle test_re test_set test_slice test_struct test_threading test_time test_traceback test_unicode ' && make install && rm -rf /usr/src/python && find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name '*.a' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -exec rm -rf '{}' + && find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-cache --virtual .python-rundeps && apk del --no-network .build-deps && python3 --version
# 2021-11-30 11:49:52 0.00B
/bin/sh -c #(nop) ENV PYTHON_VERSION=3.6.15
# 2021-11-30 11:41:19 0.00B
/bin/sh -c #(nop) ENV GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D
# 2021-11-30 11:32:02 518.80KB
/bin/sh -c set -eux; apk add --no-cache ca-certificates ;
# 2021-11-30 10:41:34 0.00B
/bin/sh -c #(nop) ENV LANG=C.UTF-8
# 2021-11-30 04:45:19 0.00B
/bin/sh -c #(nop) ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2021-11-25 04:19:40 0.00B
/bin/sh -c #(nop) CMD ["/bin/sh"]
# 2021-11-25 04:19:40 5.59MB
/bin/sh -c #(nop) ADD file:9233f6f2237d79659a9521f7e390df217cec49f1a8aa3a12147bbca1956acdb9 in /
镜像信息
{
"Id": "sha256:3a9e80fa460687aa888ebe54540132662b58a3bb1a222c3809fd412d4652eb9c",
"RepoTags": [
"python:3.6.15-alpine",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python:3.6.15-alpine"
],
"RepoDigests": [
"python@sha256:579978dec4602646fe1262f02b96371779bfb0294e92c91392707fa999c0c989",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/python@sha256:bc3447f6ba006c2268ccab840236cd1e27502a1d9133381f17db8bfc603bc810"
],
"Parent": "",
"Comment": "",
"Created": "2021-11-30T03:56:36.547025075Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "20.10.7",
"Author": "",
"Config": {
"Hostname": "",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"LANG=C.UTF-8",
"GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D",
"PYTHON_VERSION=3.6.15",
"PYTHON_PIP_VERSION=21.2.4",
"PYTHON_SETUPTOOLS_VERSION=57.5.0",
"PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/3cb8888cc2869620f57d5d2da64da38f516078c7/public/get-pip.py",
"PYTHON_GET_PIP_SHA256=c518250e91a70d7b20cceb15272209a4ded2a0c263ae5776f129e0d9b5674309"
],
"Cmd": [
"python3"
],
"Image": "sha256:19acdf372330a9e5f281a41446a9957168828668431dddf96b216f429b62789d",
"Volumes": null,
"WorkingDir": "",
"Entrypoint": null,
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 40672122,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/672184db77fd03b1145cde31795bf1a3c9ce8a5c0fb1176313f07bb48448fe6b/diff:/var/lib/docker/overlay2/0dce38e8ed4607c16ea46f2ecad0aa0054dd0715fe30e44207c16d3d4aa3cd17/diff:/var/lib/docker/overlay2/6ccded0a476674232699bdf73ef3959680c799346a0975e37778e5b4c879eda0/diff:/var/lib/docker/overlay2/ec8b3165093ad5fb6709339364c7f5bff2fb03d1dbb11309df1f3807a495e6fd/diff",
"MergedDir": "/var/lib/docker/overlay2/34b78beb9b3612d2f3865f33d3e181f477a208ae073853887e00b84a4a7696be/merged",
"UpperDir": "/var/lib/docker/overlay2/34b78beb9b3612d2f3865f33d3e181f477a208ae073853887e00b84a4a7696be/diff",
"WorkDir": "/var/lib/docker/overlay2/34b78beb9b3612d2f3865f33d3e181f477a208ae073853887e00b84a4a7696be/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:8d3ac3489996423f53d6087c81180006263b79f206d3fdec9e66f0e27ceb8759",
"sha256:1965cfbef2abbbc503a96e5dfd4db0baf850d58849a1d897c51c63e8a8bc71f1",
"sha256:671e3248113cc5479cb7fad8a05e164e54469ddba2a1ef5ff15274408398f862",
"sha256:efa76becf38b19133e11077c28ccbe1904e9bd8ab2bb32763d067ba02f5b3fc7",
"sha256:3156423bd38f1fb1e2a56d70c87029f4b57bbe7507ec6f728d76d698af231d90"
]
},
"Metadata": {
"LastTagTime": "2024-09-24T16:50:49.277629626+08:00"
}
}