container-source-policy 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -7
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -79,12 +79,6 @@ Or use `buildctl` directly with the `--source-policy-file` flag:
|
|
|
79
79
|
buildctl build --frontend dockerfile.v0 --local dockerfile=. --local context=. --source-policy-file source-policy.json
|
|
80
80
|
```
|
|
81
81
|
|
|
82
|
-
Shell completion scripts are available via Cobra:
|
|
83
|
-
|
|
84
|
-
```bash
|
|
85
|
-
container-source-policy completion zsh
|
|
86
|
-
```
|
|
87
|
-
|
|
88
82
|
## What gets pinned
|
|
89
83
|
|
|
90
84
|
### Container images (`FROM`, `COPY --from`, `ONBUILD`)
|
|
@@ -146,7 +140,7 @@ UPDATE_SNAPS=true go test ./internal/integration/...
|
|
|
146
140
|
|
|
147
141
|
## Repository layout
|
|
148
142
|
|
|
149
|
-
- `cmd/container-source-policy/cmd/`:
|
|
143
|
+
- `cmd/container-source-policy/cmd/`: CLI commands (urfave/cli)
|
|
150
144
|
- `internal/dockerfile`: Dockerfile parsing (`FROM` and `ADD` extraction)
|
|
151
145
|
- `internal/registry`: registry client (image digest resolution)
|
|
152
146
|
- `internal/http`: HTTP client (URL checksum fetching with optimizations)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "container-source-policy",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Generate Buildx container source policy file for a given Dockerfile",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
},
|
|
29
29
|
"homepage": "https://github.com/tinovyatkin/container-source-policy#readme",
|
|
30
30
|
"optionalDependencies": {
|
|
31
|
-
"container-source-policy-darwin-arm64": "0.
|
|
32
|
-
"container-source-policy-darwin-x64": "0.
|
|
33
|
-
"container-source-policy-linux-arm64": "0.
|
|
34
|
-
"container-source-policy-linux-x64": "0.
|
|
35
|
-
"container-source-policy-windows-arm64": "0.
|
|
36
|
-
"container-source-policy-windows-x64": "0.
|
|
37
|
-
"container-source-policy-freebsd-x64": "0.
|
|
31
|
+
"container-source-policy-darwin-arm64": "0.4.0",
|
|
32
|
+
"container-source-policy-darwin-x64": "0.4.0",
|
|
33
|
+
"container-source-policy-linux-arm64": "0.4.0",
|
|
34
|
+
"container-source-policy-linux-x64": "0.4.0",
|
|
35
|
+
"container-source-policy-windows-arm64": "0.4.0",
|
|
36
|
+
"container-source-policy-windows-x64": "0.4.0",
|
|
37
|
+
"container-source-policy-freebsd-x64": "0.4.0"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"postinstall": "node postinstall.js"
|