Skip to content

Commit

Permalink
Merge pull request #215 from infosiftr/PATH
Browse files Browse the repository at this point in the history
Add PATH to generated images so they're self-contained
  • Loading branch information
tianon authored Jan 14, 2025
2 parents 662d742 + 8ca4d2f commit 69136da
Show file tree
Hide file tree
Showing 31 changed files with 37 additions and 18 deletions.
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ for dir; do
| {
config: {
Cmd: [ "sh" ],
Env: [ "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ],
},
created: $created,
history: [ {
Expand Down
3 changes: 3 additions & 0 deletions latest-1/glibc/amd64/image-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"config": {
"Cmd": [
"sh"
],
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
]
},
"created": "2023-05-18T22:34:17Z",
Expand Down
4 changes: 2 additions & 2 deletions latest-1/glibc/amd64/image-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"config": {
"mediaType": "application/vnd.oci.image.config.v1+json",
"digest": "sha256:c1f39daffdeffeb97987901406e2ecef0fb2c2ca236fdfaf570d088426294d91",
"size": 372
"digest": "sha256:83ef53509aa521591f172ea20befd68f6624877539c03c5353172df8f2528ebb",
"size": 459
},
"layers": [
{
Expand Down
2 changes: 1 addition & 1 deletion latest-1/glibc/amd64/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"manifests": [
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:afa67e3cea50ce204060a6c0113bd63cb289cc0f555d5a80a3bb7c0f62b95add",
"digest": "sha256:eddbff0886ee9d637bbcf8e30612db26cfebf9fbd5d53948c7c9090b24913b4b",
"size": 610,
"platform": {
"architecture": "amd64",
Expand Down
3 changes: 3 additions & 0 deletions latest-1/musl/amd64/image-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"config": {
"Cmd": [
"sh"
],
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
]
},
"created": "2023-05-18T22:34:17Z",
Expand Down
4 changes: 2 additions & 2 deletions latest-1/musl/amd64/image-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"config": {
"mediaType": "application/vnd.oci.image.config.v1+json",
"digest": "sha256:5d246692ce58bcd1826b76c4ddcd1c763983251ccb153c38f3bb0073be700b0b",
"size": 375
"digest": "sha256:8496eb50546672822164d2f7b9462ae0a8edc60b63037dc10635bd5547d75448",
"size": 462
},
"layers": [
{
Expand Down
2 changes: 1 addition & 1 deletion latest-1/musl/amd64/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"manifests": [
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:f871bb76b2adfc94b19ca2b0fd5913e24ae9ffd63ca85c56630e8feb646a3d29",
"digest": "sha256:83125db67295399240abd9df248735cc24e714367df13cddf5b3a3ba376ee823",
"size": 608,
"platform": {
"architecture": "amd64",
Expand Down
3 changes: 3 additions & 0 deletions latest-1/uclibc/amd64/image-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"config": {
"Cmd": [
"sh"
],
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
]
},
"created": "2023-05-18T22:34:17Z",
Expand Down
4 changes: 2 additions & 2 deletions latest-1/uclibc/amd64/image-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"config": {
"mediaType": "application/vnd.oci.image.config.v1+json",
"digest": "sha256:90cb4aa8479f937752c0c893afc6bb9af17cb557a5643d5e21263a24e38f4e2c",
"size": 394
"digest": "sha256:43ae7632ed7f40253cd5f73fb06997ab09efe46baa6dd3236b3ed22578f1e10a",
"size": 481
},
"layers": [
{
Expand Down
2 changes: 1 addition & 1 deletion latest-1/uclibc/amd64/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"manifests": [
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:586e60d3254a66888859449256e75fea4a37715f3e69f17dbc8183b7d104103e",
"digest": "sha256:4ee5a9998314c0b7d2338b521a1737c95d1f23bd0a6f22ae532e0246ede8dcb8",
"size": 610,
"platform": {
"architecture": "amd64",
Expand Down
3 changes: 3 additions & 0 deletions latest/glibc/amd64/image-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"config": {
"Cmd": [
"sh"
],
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
]
},
"created": "2024-09-26T21:31:42Z",
Expand Down
4 changes: 2 additions & 2 deletions latest/glibc/amd64/image-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"config": {
"mediaType": "application/vnd.oci.image.config.v1+json",
"digest": "sha256:af47096251092caf59498806ab8d58e8173ecf5a182f024ce9d635b5b4a55d66",
"size": 372
"digest": "sha256:31311c5853a22c04d692f6581b4faa25771d915c1ba056c74e5ec82606eefdfa",
"size": 459
},
"layers": [
{
Expand Down
2 changes: 1 addition & 1 deletion latest/glibc/amd64/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"manifests": [
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:79c9716db559ffde1170a4faf04910a08d930f511e6904c4899a1f7be2abfb34",
"digest": "sha256:42279ede3600b4e63af075a5e27d68232ff837d9cdcaba74feffc7ab0dfec0dc",
"size": 610,
"platform": {
"architecture": "amd64",
Expand Down
3 changes: 3 additions & 0 deletions latest/musl/amd64/image-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"config": {
"Cmd": [
"sh"
],
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
]
},
"created": "2024-09-26T21:31:42Z",
Expand Down
4 changes: 2 additions & 2 deletions latest/musl/amd64/image-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"config": {
"mediaType": "application/vnd.oci.image.config.v1+json",
"digest": "sha256:1aa9359d68a1730224b788b32440f488df351371b792ad83ea575e9c9c1f6dde",
"size": 375
"digest": "sha256:3a25457092e3b61c3cdbb3a26516086949c1b12d8c203064859eb1efa2ef87f0",
"size": 462
},
"layers": [
{
Expand Down
2 changes: 1 addition & 1 deletion latest/musl/amd64/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"manifests": [
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:9254ce35b3ea618af914c1e303fabaad595f0942f2c636436defffe6552f049e",
"digest": "sha256:2b3a6e228e52a6a80397c6f5b60eb9cf3ca29e2c2f21b1e6d40ad67ca94c258a",
"size": 608,
"platform": {
"architecture": "amd64",
Expand Down
3 changes: 3 additions & 0 deletions latest/uclibc/amd64/image-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
"config": {
"Cmd": [
"sh"
],
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
]
},
"created": "2024-09-26T21:31:42Z",
Expand Down
4 changes: 2 additions & 2 deletions latest/uclibc/amd64/image-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"config": {
"mediaType": "application/vnd.oci.image.config.v1+json",
"digest": "sha256:9c1439ca759ec3241ed617e2184f176517d71537fe8ef317418a59cf08ea8007",
"size": 394
"digest": "sha256:7c3930d275b24c3f7187df7544792dd866dc04bf98aca89ecd99cc9767a1295b",
"size": 481
},
"layers": [
{
Expand Down
2 changes: 1 addition & 1 deletion latest/uclibc/amd64/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"manifests": [
{
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"digest": "sha256:9da44bc04c9d2f35a308dcef148bc7b28fe38d2a656e4b8919d12ea57f108a61",
"digest": "sha256:9bb7a44cf1ef27c7b6de3adedcae2a5c1bdc6ad3f2e931ca36022128115cfa78",
"size": 610,
"platform": {
"architecture": "amd64",
Expand Down

0 comments on commit 69136da

Please sign in to comment.