Namespace
astral
Image / Tag
uv:0.8.2-python3.8-bookworm-slim
Content Digest
sha256:8080f0c1b24cd9e5445e0334a0e30795a76dd0c3ff9d37905b9613ae4b9d82dc
Details
Created

2025-07-22 20:04:02 UTC

Size

63.1 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2025-07-22T20:03:49.398Z
  • 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
    21fadbcc1347bdc655a4be3d6105453b9f7d64e4
  • 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.8.2-python3.8-bookworm-slim

Environment
GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_VERSION

3.8.20

UV_TOOL_BIN_DIR

/usr/local/bin


Layers

[#000] sha256:302e3ee498053a7b5332ac79e8efebec16e900289fc1ecd1c754ce8fa047fcab - 44.05% (27.8 MB)

[#001] sha256:030d7bdc20a63e3d22192b292d006a69fa3333949f536d62865d1bd0506685cc - 5.31% (3.35 MB)

[#002] sha256:a3f1dfe736c5f959143f23d75ab522a60be2da902efac236f4fb2a153cc14a5d - 21.97% (13.9 MB)

[#003] sha256:3971691a363796c39467aae4cdce6ef773273fe6bfc67154d01e1b589befb912 - 0.0% (248 Bytes)

[#004] sha256:f91c3a858a9470fb38292a4dbe41de569ccbb22e278b8d572b4c14465af7b17d - 28.67% (18.1 MB)


History
2024-09-09 17:16:05 UTC

/bin/sh -c #(nop) ADD file:a9a95cfab16803be03e59ade41622ef5061cf90f2d034304fe4ac1ee9ff30389 in /

2024-09-09 17:16:05 UTC

/bin/sh -c #(nop) CMD ["bash"]

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

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

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.8.20

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

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-system-expat --with-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' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -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/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==57.5.0' wheel ; pip3 --version # buildkit

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pip3 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

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2025-07-22 20:04:02 UTC (buildkit.dockerfile.v0)

COPY /uv /uvx /usr/local/bin/ # buildkit

2025-07-22 20:04:02 UTC (buildkit.dockerfile.v0)

ENV UV_TOOL_BIN_DIR=/usr/local/bin

2025-07-22 20:04:02 UTC (buildkit.dockerfile.v0)

ENTRYPOINT []

2025-07-22 20:04:02 UTC (buildkit.dockerfile.v0)

CMD ["/usr/local/bin/uv"]

Details
Created

2025-07-22 20:04:00 UTC

Size

61.8 MB

Content Digest
Labels
  • org.opencontainers.image.created
    2025-07-22T20:03:49.398Z
  • 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
    21fadbcc1347bdc655a4be3d6105453b9f7d64e4
  • 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.8.2-python3.8-bookworm-slim

Environment
GPG_KEY

E3FF2839C048B25C084DEBE9B26995E310250568

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_VERSION

3.8.20

UV_TOOL_BIN_DIR

/usr/local/bin


Layers

[#000] sha256:14c9d9d199323cbf0a4c2347a8af85f2875c1f2c26a1558fd34dfca7a26cff22 - 44.99% (27.8 MB)

[#001] sha256:d847ad1879f2202660d37d9bedf1b8986116079d578b010e46b6917facf23dd5 - 5.14% (3.18 MB)

[#002] sha256:56d45b8e140401cb0bb97c76a062697a0502ff1928dad8483d76b108a38920d6 - 22.4% (13.8 MB)

[#003] sha256:0cd45dda32d5387b73cdb7755ea8f31eca0e250f2860b720e9e5155200321b67 - 0.0% (249 Bytes)

[#004] sha256:0867680bd07b612683ac9bb72b92a6ab023f6e4b4f59ee84347c927cf431792b - 27.47% (17 MB)


History
2024-09-09 17:16:05 UTC

/bin/sh -c #(nop) ADD file:28df1cb6a6576d40b5226851d0a6a76ffd5d1c94644ee441490b74a90f29f425 in /

2024-09-09 17:16:05 UTC

/bin/sh -c #(nop) CMD ["bash"]

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

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

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.8.20

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

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-system-expat --with-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' \) \) -o \( -type f -a -name 'wininst-*.exe' \) \) -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/*; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==57.5.0' wheel ; pip3 --version # buildkit

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; for src in idle3 pip3 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

2024-09-09 17:16:05 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2025-07-22 20:04:00 UTC (buildkit.dockerfile.v0)

COPY /uv /uvx /usr/local/bin/ # buildkit

2025-07-22 20:04:00 UTC (buildkit.dockerfile.v0)

ENV UV_TOOL_BIN_DIR=/usr/local/bin

2025-07-22 20:04:00 UTC (buildkit.dockerfile.v0)

ENTRYPOINT []

2025-07-22 20:04:00 UTC (buildkit.dockerfile.v0)

CMD ["/usr/local/bin/uv"]