ghcr.io/astral-sh/uv:python3.12-bookworm-slim linux/amd64

ghcr.io/astral-sh/uv:python3.12-bookworm-slim - 国内下载镜像源 浏览次数:273

UV 是一个基于 UV-Vis 分光光度法进行分光光度分析的开源软件。它可以用于各种应用场景,如环境监测、食品安全等。

UV 可以帮助分析样品中的各类物质,包括有机化合物、无机离子等。它还能提供快速和准确的结果,对于研究人员来说尤其重要。

本镜像包含了 UV 的最新版本,可以直接用于各种 Linux 系统上。您可以通过以下命令拉取镜像并运行容器:

docker run -it ghcr.io/astral-sh/uv

如果有任何问题,请参考 README.md 文件中的说明。

源镜像 ghcr.io/astral-sh/uv:python3.12-bookworm-slim
国内镜像 swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/astral-sh/uv:python3.12-bookworm-slim
镜像ID sha256:058791b2000a160450a501e8887e2ddcac6ca632a77f24f351dc70e5a3a4d871
镜像TAG python3.12-bookworm-slim
大小 151.15MB
镜像源 ghcr.io
CMD /usr/local/bin/uv
启动入口
工作目录
OS/平台 linux/amd64
浏览量 273 次
贡献者
镜像创建 2024-09-10T22:35:00.428538216Z
同步时间 2024-09-11 15:40
更新时间 2024-11-21 13:11
环境变量
PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305 PYTHON_VERSION=3.12.6 PYTHON_PIP_VERSION=24.2 PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py PYTHON_GET_PIP_SHA256=bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a
镜像标签
2024-09-10T22:34:55.369Z: org.opencontainers.image.created An extremely fast Python package and project manager, written in Rust.: org.opencontainers.image.description Apache-2.0: org.opencontainers.image.licenses 77d278f68a61bda2c7e1a1c43d01c8f0db15eeb8: org.opencontainers.image.revision https://github.com/astral-sh/uv: org.opencontainers.image.source uv: org.opencontainers.image.title https://github.com/astral-sh/uv: org.opencontainers.image.url 0.4.9-python3.12-bookworm-slim: org.opencontainers.image.version

Docker拉取命令 无权限下载?点我修复

docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/astral-sh/uv:python3.12-bookworm-slim
docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/astral-sh/uv:python3.12-bookworm-slim  ghcr.io/astral-sh/uv:python3.12-bookworm-slim

Containerd拉取命令

ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/astral-sh/uv:python3.12-bookworm-slim
ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/astral-sh/uv:python3.12-bookworm-slim  ghcr.io/astral-sh/uv:python3.12-bookworm-slim

Shell快速替换命令

sed -i 's#ghcr.io/astral-sh/uv:python3.12-bookworm-slim#swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/astral-sh/uv:python3.12-bookworm-slim#' deployment.yaml

Ansible快速分发-Docker

#ansible k8s -m shell -a 'docker pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/astral-sh/uv:python3.12-bookworm-slim && docker tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/astral-sh/uv:python3.12-bookworm-slim  ghcr.io/astral-sh/uv:python3.12-bookworm-slim'

Ansible快速分发-Containerd

#ansible k8s -m shell -a 'ctr images pull swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/astral-sh/uv:python3.12-bookworm-slim && ctr images tag  swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/astral-sh/uv:python3.12-bookworm-slim  ghcr.io/astral-sh/uv:python3.12-bookworm-slim'

镜像历史

大小 创建时间 层信息
0.00B 2024-09-11 06:35:00 CMD ["/usr/local/bin/uv"]
0.00B 2024-09-11 06:35:00 ENTRYPOINT []
396.66KB 2024-09-11 06:35:00 COPY /uvx /usr/local/bin/uvx # buildkit
26.40MB 2024-09-11 06:35:00 COPY /uv /usr/local/bin/uv # buildkit
0.00B 2024-09-10 00:46:54 CMD ["python3"]
6.02MB 2024-09-10 00:46:54 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" --no-setuptools --no-wheel ; rm -f get-pip.py; pip --version # buildkit
0.00B 2024-09-10 00:46:54 ENV PYTHON_GET_PIP_SHA256=bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a
0.00B 2024-09-10 00:46:54 ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py
0.00B 2024-09-10 00:46:54 ENV PYTHON_PIP_VERSION=24.2
32.00B 2024-09-10 00:46:54 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
34.32MB 2024-09-10 00:46:54 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
0.00B 2024-09-10 00:46:54 ENV PYTHON_VERSION=3.12.6
0.00B 2024-09-10 00:46:54 ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
9.24MB 2024-09-10 00:46:54 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
0.00B 2024-09-10 00:46:54 ENV LANG=C.UTF-8
0.00B 2024-09-10 00:46:54 ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0.00B 2024-09-05 06:30:47 /bin/sh -c #(nop) CMD ["bash"]
74.78MB 2024-09-05 06:30:47 /bin/sh -c #(nop) ADD file:d13afefcc2b0b02b598a3ac2598fe2187db41de1e17820e5b600a955b1429d59 in /

镜像信息

{
    "Id": "sha256:058791b2000a160450a501e8887e2ddcac6ca632a77f24f351dc70e5a3a4d871",
    "RepoTags": [
        "ghcr.io/astral-sh/uv:python3.12-bookworm-slim",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/astral-sh/uv:python3.12-bookworm-slim"
    ],
    "RepoDigests": [
        "ghcr.io/astral-sh/uv@sha256:6def94394289caccbc398ec05619ed9d578b1597cd4beee074f28834dd75ff3e",
        "swr.cn-north-4.myhuaweicloud.com/ddn-k8s/ghcr.io/astral-sh/uv@sha256:a5a41fd9547533b1a3645eaa298698339ac43e012207bdb58f705a8cb1fe048b"
    ],
    "Parent": "",
    "Comment": "buildkit.dockerfile.v0",
    "Created": "2024-09-10T22:35:00.428538216Z",
    "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=7169605F62C751356D054A26A821E680E5FA6305",
            "PYTHON_VERSION=3.12.6",
            "PYTHON_PIP_VERSION=24.2",
            "PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/def4aec84b261b939137dd1c69eff0aabb4a7bf4/public/get-pip.py",
            "PYTHON_GET_PIP_SHA256=bc37786ec99618416cc0a0ca32833da447f4d91ab51d2c138dd15b7af21e8e9a"
        ],
        "Cmd": [
            "/usr/local/bin/uv"
        ],
        "ArgsEscaped": true,
        "Image": "",
        "Volumes": null,
        "WorkingDir": "",
        "Entrypoint": null,
        "OnBuild": null,
        "Labels": {
            "org.opencontainers.image.created": "2024-09-10T22:34:55.369Z",
            "org.opencontainers.image.description": "An extremely fast Python package and project manager, written in Rust.",
            "org.opencontainers.image.licenses": "Apache-2.0",
            "org.opencontainers.image.revision": "77d278f68a61bda2c7e1a1c43d01c8f0db15eeb8",
            "org.opencontainers.image.source": "https://github.com/astral-sh/uv",
            "org.opencontainers.image.title": "uv",
            "org.opencontainers.image.url": "https://github.com/astral-sh/uv",
            "org.opencontainers.image.version": "0.4.9-python3.12-bookworm-slim"
        }
    },
    "Architecture": "amd64",
    "Os": "linux",
    "Size": 151148215,
    "GraphDriver": {
        "Data": {
            "LowerDir": "/var/lib/docker/overlay2/c86d2031689214b5a8b4a67f34c610e9842b9421dd9d8ced47c41c2184e49925/diff:/var/lib/docker/overlay2/464988ca9f9016b5674278f72f9f1f3b107298c26b457f0390928eda585d0f6e/diff:/var/lib/docker/overlay2/798d6518800088f4c3be2a6a35d669f7ceb6fee1117faa0c97dab3f346bee507/diff:/var/lib/docker/overlay2/7346a59bbe3549230fa832a0986b9ed8d761eb65bf4b00b327c89cacb4312059/diff:/var/lib/docker/overlay2/7bf8cce690d4920bb3faef29773dc9cc9407cdf4782da9f902b0152289972e3e/diff:/var/lib/docker/overlay2/044fafb84031a02ada0e7160ff569d7db6aca189124a9763bc73a6c6dcf7956f/diff",
            "MergedDir": "/var/lib/docker/overlay2/8d8402e351e4cab2121fcb915d23554e4dd98856d2df5fb8f6a539b6f4c60d6a/merged",
            "UpperDir": "/var/lib/docker/overlay2/8d8402e351e4cab2121fcb915d23554e4dd98856d2df5fb8f6a539b6f4c60d6a/diff",
            "WorkDir": "/var/lib/docker/overlay2/8d8402e351e4cab2121fcb915d23554e4dd98856d2df5fb8f6a539b6f4c60d6a/work"
        },
        "Name": "overlay2"
    },
    "RootFS": {
        "Type": "layers",
        "Layers": [
            "sha256:8e2ab394fabf557b00041a8f080b10b4e91c7027b7c174f095332c7ebb6501cb",
            "sha256:4bfa1007b8e78e74177d3b016b0d5dd5d17a075343ecbf3a2513b0758d0e0e5b",
            "sha256:7db015857ec4109410064a3ab0af4f7098ad8b89212db4508c45834e1a24e63c",
            "sha256:9b5e57141c429e5914a51091b1cbffb6866e3ee86f4c24d8c6812d72c0f6cb77",
            "sha256:1b3d8874628feb1350250ccf57cbc29dcf4094f7559bf0243c576da7315c160c",
            "sha256:bff66c47da21749342a1e0bc1ba21c0dbe5df90e050038742d57edc4dee1f3ce",
            "sha256:3c435a464d3cb29ee9639263eb180073c9228d8165357302dccfa965d3264156"
        ]
    },
    "Metadata": {
        "LastTagTime": "2024-09-11T15:40:28.493635971+08:00"
    }
}

更多版本

ghcr.io/astral-sh/uv:python3.12-bookworm-slim

linux/amd64 ghcr.io151.15MB2024-09-11 15:40
272

ghcr.io/astral-sh/uv:python3.13-alpine

linux/amd64 ghcr.io75.92MB2024-10-31 23:36
347

ghcr.io/astral-sh/uv:0.4.29-python3.12-bookworm-slim

linux/amd64 ghcr.io155.65MB2024-11-01 00:22
41