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.0a5-py3-none-win_arm64.whl (3.5 MB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3musllinux: musl 1.2+ x86-64

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

Uploaded Python 3musllinux: musl 1.2+ ARM64

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

Uploaded Python 3manylinux: glibc 2.17+ x86-64

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

Uploaded Python 3manylinux: glibc 2.17+ ARM64

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

Uploaded Python 3macOS 11.0+ ARM64

pindock-1.0.0a5-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.0a5-py3-none-win_arm64.whl.

File metadata

  • Download URL: pindock-1.0.0a5-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.0a5-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 91a1cc8999e17fe649578944e3886533a5d14cd607db16a13eccb1efee32b744
MD5 da794582605ff575a947d374c458ea98
BLAKE2b-256 0d631407e2610f959a96d36611f7bade6b680181830c319a432cdd7edfee3fb3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a5-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.0a5-py3-none-win_amd64.whl.

File metadata

  • Download URL: pindock-1.0.0a5-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.0a5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 29c0fa8ab8c4c547879f6491e0d933187b0a867e1dd412eeaacb10a9698c3730
MD5 499890d4831745e3e05cc820cf6d1fc3
BLAKE2b-256 663c045fd36561e7b1874c4fdf6eac3f01a0a3cd550e5822d7b59f07b4ac2f91

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a5-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.0a5-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a5-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 eba74abfdfb48b47d9a1680bea947ccea18efafc816cad774502bf6d67bab591
MD5 53de96cb583223c63ee8d74487742f5f
BLAKE2b-256 d5e985ff26a7193d744f01653c99a9eb7d895f2a2b770f9043be802246feec7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a5-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.0a5-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a5-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 4d535d2898cbf32535f50b2b951514c16573769fee6fcdb4ff88f49ffb534358
MD5 e7c48a3ba40fc64278e31f44ce4ad3de
BLAKE2b-256 73dfe4674d134e48cc6edf184e229ab6951ac135e972047acf9f0100190664ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a5-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.0a5-py3-none-manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a5-py3-none-manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 bbc8f81ead1e6f6063dac5186d0e2ac84c31586a8831a53497a6afa4dfd0d53b
MD5 cb2eb01e08f8ee786efdd6e3eb88d16b
BLAKE2b-256 fed56919b4499d5b08dc1450d8e88f0502b35528454d745dd353c4734f578867

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a5-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.0a5-py3-none-manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a5-py3-none-manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 f7b205b62638fbb2cf17ec0e820e42a5cebd69f701ef9a78c14ea77fe8d4fb19
MD5 8366fc665fc51ad923a107def3aa7d31
BLAKE2b-256 6ed937525740a864eb94989f15d5c7678703edf42d15a6633ad0b0f84ea4d69e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a5-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.0a5-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a5-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a06e11db5948a7c708c4b11e3314173ab9d39d6fd060ff1b84b7c059cdab20ff
MD5 5e6474e077d7c4af40f869b047a9228b
BLAKE2b-256 626c86ac315396621e2a96fbe2411fc1892d8a53dfb0d8017907654f6a5734f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a5-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.0a5-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pindock-1.0.0a5-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a79ec013bf5de4815a38b8c1245b9b9e4868d5351e9455ef1b2f18c692778adc
MD5 03e41af17a5d511b7c47f963e3da00e2
BLAKE2b-256 90363e6f018a3ca79d7db9dbdba1fcbcca657a7efc8908237160a0f7e9122f5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pindock-1.0.0a5-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