container-source-policy
Generate a Docker BuildKit source policy file by parsing Dockerfiles and pinning FROM images to
immutable digests.
This PyPI package ships a small Python launcher plus a prebuilt container-source-policy binary for your platform.
Install
Recommended (isolated):
pipx install container-source-policy
Or into the current environment:
python -m pip install container-source-policy
Usage
container-source-policy pin --stdout Dockerfile > source-policy.json
EXPERIMENTAL_BUILDKIT_SOURCE_POLICY=source-policy.json docker buildx build -t my-image:dev .
More info
See the upstream repository for full documentation: https://github.com/wharflab/container-source-policy
Metadata
Release files for container-source-policy 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 31.0 MB
Release files / container_source_policy-0.6.0-py3-none-win_arm64.whl
| Download URL | container_source_policy-0.6.0-py3-none-win_arm64.whl |
|---|---|
| Size | 4.9 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
6133b0e06cf6d9d1684d47e0108073323c3d71634e47616a9895fd65e0492ced
|
|
BLAKE2b-256 checksum How to use checksums |
776a97ed692dc240d073b3810a90d9b003143d52c14f1cb20fda6085c96fb52a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / container_source_policy-0.6.0-py3-none-win_amd64.whl
| Download URL | container_source_policy-0.6.0-py3-none-win_amd64.whl |
|---|---|
| Size | 5.5 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
20dbf9abc1dbdfcf2effd266d87b57003ce699ca23a89364f058bff62a8df11f
|
|
BLAKE2b-256 checksum How to use checksums |
6e6d8e2d885ad9c576c97916477b26d58f8a51e07fdee4576e2b584d3149e392
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / container_source_policy-0.6.0-py3-none-manylinux_2_17_x86_64.whl
| Download URL | container_source_policy-0.6.0-py3-none-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 5.4 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
6ed14c1c2ac26f85fc5207cbf9a1b4be3d4daa75f41408314219e2772b9e371d
|
|
BLAKE2b-256 checksum How to use checksums |
9500692e64e6d74d5477c9745125a45eec24477b9d327727b307deb13b9a608f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / container_source_policy-0.6.0-py3-none-manylinux_2_17_aarch64.whl
| Download URL | container_source_policy-0.6.0-py3-none-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 4.8 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
988b26b491322a48c292bc8fcb395f4f869f999ed543b08dae491428a74efa8e
|
|
BLAKE2b-256 checksum How to use checksums |
8a37258bec199c477930f1a2a32cd9e6c176616839521bd05c27fa30d7d41dc9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / container_source_policy-0.6.0-py3-none-macosx_11_0_arm64.whl
| Download URL | container_source_policy-0.6.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 5.0 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
1fdec0029ea1a2c94af6115ef63effc78baa419aef4b2f0a873e76be23ff91bf
|
|
BLAKE2b-256 checksum How to use checksums |
232cd577ca13514e8fbc2278c87b6cba62384f9e22f5595e877d3e3d0f33143b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / container_source_policy-0.6.0-py3-none-macosx_10_15_x86_64.whl
| Download URL | container_source_policy-0.6.0-py3-none-macosx_10_15_x86_64.whl |
|---|---|
| Size | 5.5 MB |
| Tags | Python 3 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
35fedf81f372eebe3d0dc3dc6218f3df99927d8d0c70c884ee245342be70a1eb
|
|
BLAKE2b-256 checksum How to use checksums |
799fe12f8a8e12d548e5c7dec581050cbd06f71f47fcbf3cc799e95684c7f3a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for container-source-policy 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.