Skip to main content

Pin and update Docker image digests in Dockerfiles and compose files

Project description

pindock

Pin and update Docker image digests in Dockerfiles and compose files.

PyPI: Version AUR: version GitHub: Release Docker: ghcr CI: Main CI: Coverage

InstallationUsagePre-commit

Installation

# PyPI
uv tool install pindock

# AUR
yay -S pindock-bin

# Docker
docker pull ghcr.io/deadnews/pindock

Usage

Usage: pindock <command> [flags]

Pin and update Docker image digests.

Commands:
  run [<files> ...] [flags]
    Pin unpinned image digests.

  check [<files> ...] [flags]
    Verify all images are pinned.

Run flags:
  -C, --dir=.      Directory to scan.
  -u, --update     Also update pinned digests to latest.
  -v, --verbose    Show all images, including pinned.

Check flags:
  -C, --dir=.      Directory to scan.
  -v, --verbose    Show all images, including pinned.

When no files are given, pindock auto-discovers files recursively.

Supported files

  • Dockerfile, Containerfile (and variants like Dockerfile.dev, *.dockerfile)
  • compose*.yml, docker-compose*.yml (and .yaml)

Supported instructions

Dockerfile Compose
FROM [--platform=...] image:tag[@digest] [AS name] image: image:tag[@digest]
COPY --from=image:tag[@digest] ...
RUN --mount=from=image:tag[@digest],... ...

Authentication

Uses existing Docker credentials. If you can docker pull, pindock works too.

Pre-commit

repos:
  - repo: https://github.com/deadnews/pindock
    rev: v1.0.0
    hooks:
      - id: pindock
      - id: pindock-check
      - id: pindock-update

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pindock-1.0.0a7-py3-none-win_arm64.whl (3.5 MB view details)

Uploaded Python 3Windows ARM64

pindock-1.0.0a7-py3-none-win_amd64.whl (4.0 MB view details)

Uploaded Python 3Windows x86-64

pindock-1.0.0a7-py3-none-musllinux_1_2_x86_64.whl (3.8 MB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

pindock-1.0.0a7-py3-none-musllinux_1_2_aarch64.whl (3.5 MB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

pindock-1.0.0a7-py3-none-manylinux_2_17_x86_64.whl (3.8 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

pindock-1.0.0a7-py3-none-manylinux_2_17_aarch64.whl (3.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

pindock-1.0.0a7-py3-none-macosx_11_0_arm64.whl (3.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

pindock-1.0.0a7-py3-none-macosx_10_9_x86_64.whl (3.9 MB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file pindock-1.0.0a7-py3-none-win_arm64.whl.

File metadata

  • Download URL: pindock-1.0.0a7-py3-none-win_arm64.whl
  • Upload date:
  • Size: 3.5 MB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pindock-1.0.0a7-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 711f7f614a2990821babb4733440057a92e56b53019f54e9a3d42a026089c356
MD5 17c545c0c2de0a70888743cb145ee238
BLAKE2b-256 199cf1574e99be5f52e2dc7446cadb750e6ded7500b50f343a72a9f3487d9735

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a7-py3-none-win_arm64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pindock-1.0.0a7-py3-none-win_amd64.whl.

File metadata

  • Download URL: pindock-1.0.0a7-py3-none-win_amd64.whl
  • Upload date:
  • Size: 4.0 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pindock-1.0.0a7-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 bb47b36e4a44ba2755edfce5e96cba532b218b183f83a1fff1d4e29d87e4c9dd
MD5 f658fd9130cacf0295a9fc1521749bb9
BLAKE2b-256 180e384b0d0bb218bef966dbe096b4f4b76231ab8fb0dbcc5e9ab83440c3ed93

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a7-py3-none-win_amd64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pindock-1.0.0a7-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a7-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 991a0d5a32d8c442dde5de14e72227f22025e57a42bcd60f11ce3979b9298231
MD5 4e82128941da0ceec2abb77643180b13
BLAKE2b-256 c6978ee203ad716fc6e56bb1e3a445cfd1bd2216f02ded39c02946534edd6fc1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a7-py3-none-musllinux_1_2_x86_64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pindock-1.0.0a7-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a7-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 e52a0e837d6fb146cf1f638549ad82088b396d0268cf16a41e0309dba294a56e
MD5 e156945de568526c781b7764d95f4f31
BLAKE2b-256 27ecbfc3790abf99a12772a7d31afb5b6cd954610a4b1d1e48fd7f8870d351d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a7-py3-none-musllinux_1_2_aarch64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pindock-1.0.0a7-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a7-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 e1efda0043a98ade39c9922552ada611e542877109fb59fbaa1a0be4e6634776
MD5 2789ef5bca210ef527eb8463396d9879
BLAKE2b-256 4371f31599f0f069073e8b2fed8dcb350b22f37dd5591264f496b4d9a0e0c2ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a7-py3-none-manylinux_2_17_x86_64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pindock-1.0.0a7-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a7-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 cf06937d725233a75fb9ea37c557693b8d177614068b0f08b440757d1496e20b
MD5 196f7eac4d034936b71802a7d5887988
BLAKE2b-256 309abd4386fa0f9fa1e4761fc9c837faf2a2de7ef5a6f03259615d92d6a1f3b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a7-py3-none-manylinux_2_17_aarch64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pindock-1.0.0a7-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a7-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 518a2926b889b2af29282f6b6ab288d8543388aeda1e68cce9779c138fe3ed4a
MD5 2f32fcf87a3ab6146303ec68f3ccc496
BLAKE2b-256 f7540503e14513fa8ff33b9734ae145c31a413f96c3b02ffcc833e9d98266e10

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a7-py3-none-macosx_11_0_arm64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pindock-1.0.0a7-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a7-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9d44ac8d2fb0dc80028f627fc85fcc4b93ad2df6bf4238db43db9c043e0f436e
MD5 7f7a50528ee1a336aa7d44764269a8f9
BLAKE2b-256 ebb2462aa4931f842f3b4cd5e9129fd22875ad2cdf7467efd6351805d9b643cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a7-py3-none-macosx_10_9_x86_64.whl:

Publisher: main.yml on deadnews/pindock

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page