镜像构建历史
# 2023-11-01 03:44:22 0.00B 配置容器启动时运行的命令
ENTRYPOINT ["python3" "-u" "RunTrial.py"]
# 2023-11-01 03:44:22 13.65KB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c chgrp -R 0 ${TARGET_DIR} && chmod -R g+rwX ${TARGET_DIR} # buildkit
# 2023-11-01 03:44:22 1.75GB 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c pip install --prefer-binary --no-cache-dir -r requirements.txt # buildkit
# 2023-11-01 03:38:57 0.00B 执行命令并创建新的镜像层
RUN |1 TARGETARCH=amd64 /bin/sh -c if [ "${TARGETARCH}" = "arm64" ]; then apt-get -y update && apt-get -y install gfortran libpcre3 libpcre3-dev && apt-get clean && rm -rf /var/lib/apt/lists/*; fi # buildkit
# 2023-11-01 03:38:57 0.00B 设置工作目录为/opt/enas-cnn-cifar10
WORKDIR /opt/enas-cnn-cifar10
# 2023-11-01 03:38:57 13.65KB 复制文件或目录到容器中
ADD examples/v1beta1/trial-images/enas-cnn-cifar10 /opt/enas-cnn-cifar10 # buildkit
# 2023-11-01 03:38:57 0.00B 设置环境变量 PYTHONPATH
ENV PYTHONPATH=/opt/enas-cnn-cifar10
# 2023-11-01 03:38:57 0.00B 设置环境变量 TARGET_DIR
ENV TARGET_DIR=/opt/enas-cnn-cifar10
# 2023-11-01 03:38:57 0.00B 定义构建参数
ARG TARGETARCH
# 2023-10-16 05:49:12 0.00B 设置默认要执行的命令
CMD ["python3"]
# 2023-10-16 05:49:12 12.20MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends wget; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum -c -; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; export PYTHONDONTWRITEBYTECODE=1; python get-pip.py --disable-pip-version-check --no-cache-dir --no-compile "pip==$PYTHON_PIP_VERSION" "setuptools==$PYTHON_SETUPTOOLS_VERSION" ; rm -f get-pip.py; pip --version # buildkit
# 2023-10-16 05:49:12 0.00B 设置环境变量 PYTHON_GET_PIP_SHA256
ENV PYTHON_GET_PIP_SHA256=22b849a10f86f5ddf7ce148ca2a31214504ee6c83ef626840fde6e5dcd809d11
# 2023-10-16 05:49:12 0.00B 设置环境变量 PYTHON_GET_PIP_URL
ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/c6add47b0abf67511cdfb4734771cbab403af062/public/get-pip.py
# 2023-10-16 05:49:12 0.00B 设置环境变量 PYTHON_SETUPTOOLS_VERSION
ENV PYTHON_SETUPTOOLS_VERSION=65.5.1
# 2023-10-16 05:49:12 0.00B 设置环境变量 PYTHON_PIP_VERSION
ENV PYTHON_PIP_VERSION=23.0.1
# 2023-10-16 05:49:12 32.00B 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; for src in idle3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit
# 2023-10-16 05:49:12 31.91MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libexpat1-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev ; 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"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; 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-lto --with-system-expat --without-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" python ; make install; cd /; 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 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; ldconfig; apt-mark auto '.*' > /dev/null; apt-mark manual $savedAptMark; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; python3 --version # buildkit
# 2023-10-16 05:49:12 0.00B 设置环境变量 PYTHON_VERSION
ENV PYTHON_VERSION=3.10.13
# 2023-10-16 05:49:12 0.00B 设置环境变量 GPG_KEY
ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
# 2023-10-16 05:49:12 9.24MB 执行命令并创建新的镜像层
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates netbase tzdata ; rm -rf /var/lib/apt/lists/* # buildkit
# 2023-10-16 05:49:12 0.00B 设置环境变量 LANG
ENV LANG=C.UTF-8
# 2023-10-16 05:49:12 0.00B 设置环境变量 PATH
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# 2023-10-12 02:34:51 0.00B
/bin/sh -c #(nop) CMD ["bash"]
# 2023-10-12 02:34:50 74.82MB
/bin/sh -c #(nop) ADD file:55ad846fa191e603f48090eae0e4a7149c4066b94406593ec1898ad2c3347937 in /
镜像信息
{
"Id": "sha256:eb21805a74053768696625d896e338b2bf44b55e6e735221d574bd62a6a3f781",
"RepoTags": [
"kubeflowkatib/enas-cnn-cifar10-cpu:v0.16.0",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/kubeflowkatib/enas-cnn-cifar10-cpu:v0.16.0"
],
"RepoDigests": [
"kubeflowkatib/enas-cnn-cifar10-cpu@sha256:5c27e2c36638d0764619d99c6de442ee54a8991c6bc5e0c8e5dacb9a75ddd9ed",
"swr.cn-north-4.myhuaweicloud.com/ddn-k8s/docker.io/kubeflowkatib/enas-cnn-cifar10-cpu@sha256:5c27e2c36638d0764619d99c6de442ee54a8991c6bc5e0c8e5dacb9a75ddd9ed"
],
"Parent": "",
"Comment": "buildkit.dockerfile.v0",
"Created": "2023-10-31T19:44:22.590156923Z",
"Container": "",
"ContainerConfig": null,
"DockerVersion": "",
"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=A035C8C19219BA821ECEA86B64E628F8D684696D",
"PYTHON_VERSION=3.10.13",
"PYTHON_PIP_VERSION=23.0.1",
"PYTHON_SETUPTOOLS_VERSION=65.5.1",
"PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/c6add47b0abf67511cdfb4734771cbab403af062/public/get-pip.py",
"PYTHON_GET_PIP_SHA256=22b849a10f86f5ddf7ce148ca2a31214504ee6c83ef626840fde6e5dcd809d11",
"TARGET_DIR=/opt/enas-cnn-cifar10",
"PYTHONPATH=/opt/enas-cnn-cifar10"
],
"Cmd": null,
"ArgsEscaped": true,
"Image": "",
"Volumes": null,
"WorkingDir": "/opt/enas-cnn-cifar10",
"Entrypoint": [
"python3",
"-u",
"RunTrial.py"
],
"OnBuild": null,
"Labels": null
},
"Architecture": "amd64",
"Os": "linux",
"Size": 1875977574,
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/9f1c5db801075502c24325c6c571447f6f6d1c38eaca638533639d86846e30cb/diff:/var/lib/docker/overlay2/8d0ed2a7e2696f2bf8f1d9beb37f71d2730bf920028317fc15bd66f54e2963b9/diff:/var/lib/docker/overlay2/f1d06615ebb408187b33816f75e34e972a3543487390b298c3d8ba8f413437bd/diff:/var/lib/docker/overlay2/43bf49a5baeb5a12ffe4543241aace6ee0c08a6df48ca7ef8debbe38fecaae0d/diff:/var/lib/docker/overlay2/00cd30907958030e8310d7324fc58448186ed0640c8904470ee7479b97b32270/diff:/var/lib/docker/overlay2/aa6e3ef9c8cd00f5925fdbf2992f0bd22b1e014066510e070b3c7b908c70f4f8/diff:/var/lib/docker/overlay2/9caa6e9becbdf19be805839535beeeca0511b8986a024d8e3afc87570c121127/diff:/var/lib/docker/overlay2/21af303b0690fb6c6ff1b9d1b544c90e7b8f1c2e3fe3da824e835a1df3d347a9/diff:/var/lib/docker/overlay2/41f74d88cd3fa0ed35bac82a83d94ce7a6fd2000dd908d4253338783a92b8e5d/diff",
"MergedDir": "/var/lib/docker/overlay2/8a7a83537d84961f4f57587bf6746252b19f9da81c7cb306a145ef6baeb035b2/merged",
"UpperDir": "/var/lib/docker/overlay2/8a7a83537d84961f4f57587bf6746252b19f9da81c7cb306a145ef6baeb035b2/diff",
"WorkDir": "/var/lib/docker/overlay2/8a7a83537d84961f4f57587bf6746252b19f9da81c7cb306a145ef6baeb035b2/work"
},
"Name": "overlay2"
},
"RootFS": {
"Type": "layers",
"Layers": [
"sha256:cb4596cc145400fb1f2aa56d41516b39a366ecdee7bf3f9191116444aacd8c90",
"sha256:e76afd493130bf69d8b3176ea95c4a837fc478ea912f6f55c31e49ac6a7e4459",
"sha256:82c3ec988e2abd4eb63e2d7fa2988566b84a13e29aff3fbfa24441ee52aaa2de",
"sha256:ec68ab009408b06fe4541f49558b715a937d9ac9328ac32ab3df6e9634971adc",
"sha256:711b7097618f6d848cc05fd9d490a473268a250931ff3d21633a53877f50ced1",
"sha256:826739add795be53fdee75b8bb437fd342aa8a625d65277d098510795bfdbbe4",
"sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef",
"sha256:527a010b66529e5eff5f4560371e2917a4dc9f21bf56048893d0b4c68c77d056",
"sha256:e831e799670fbb13c627ab17a5f4c389ea062aaef6176ce873a21eec54829b7f",
"sha256:754a9a559bc09db569bd4cd229534ec0e7f5ab2d92dd83a000d1de6b975f8ff1"
]
},
"Metadata": {
"LastTagTime": "2025-02-28T16:43:20.742704882+08:00"
}
}