Created
May 20, 2024 00:46
-
-
Save terminaldweller/033ae07a9e685db85b18eb822dea4be3 to your computer and use it in GitHub Desktop.
provenance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"buildConfig": { | |
"digestMapping": { | |
"sha256:05f5db4d5137571883007fb3dd7e1db8e6ca2551e269362a6e9deedeae3575c6": "step10", | |
"sha256:332df41719184adafe9da21bfa655b4c7556b048bd9a4dffee4703cedc0e751c": "step7", | |
"sha256:381cfad8d3fbd76c0a81e3307556da732ebb30c9c82379ba053bbeadd4a1a6bc": "step9", | |
"sha256:43945835bdc3566fd473a6cb467d1ea658746bbd21a71eecb3252dbaf273272b": "step6", | |
"sha256:45236ab0499a9523a4425a24f9e4a2ccffa69f79f2a0c1ea74dac01f51b6f364": "step8", | |
"sha256:62143aa7e7057a99293cf2e556f82b871c00f2833972205eef882d0a4bdcfde7": "step0", | |
"sha256:677e9d2cc5af6462f862276ed3e72b1049cbc33801be19b5b454a4b78d93ee0c": "step5", | |
"sha256:783e6d440d90d09685648cd56455bec50ff630f61f86a3a4d857b9f9d649a22f": "step3", | |
"sha256:8160613985189d555afd167f66545ae960af76eff250d451ca88ffe48dab3217": "step4", | |
"sha256:a12856c73d5d73fa599b6ba6a3fef78dbbf2da6c6e4dbd31633c293ddab55baa": "step11", | |
"sha256:b0ab206877b25c45a5796331594c9d3c1e53d74acc84382b4f251311ab1e51fc": "step2", | |
"sha256:cb6442b7fda196bbcb0b4131af0215dcb8b5e37b25a7c67dca6771e628afdc31": "step1" | |
}, | |
"llbDefinition": [ | |
{ | |
"id": "step0", | |
"op": { | |
"Op": { | |
"source": { | |
"identifier": "docker-image://docker.io/library/alpine:3.19@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b" | |
} | |
}, | |
"constraints": {}, | |
"platform": { | |
"Architecture": "amd64", | |
"OS": "linux" | |
} | |
} | |
}, | |
{ | |
"id": "step1", | |
"inputs": [ | |
"step0:0" | |
], | |
"op": { | |
"Op": { | |
"exec": { | |
"meta": { | |
"args": [ | |
"/bin/sh", | |
"-c", | |
"set -eux; adduser -u 1001 -D -h \"$HOME\" user; mkdir \"$HOME/.irssi\"; chown -R user:user \"$HOME\"" | |
], | |
"cwd": "/", | |
"env": [ | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", | |
"HOME=/home/user" | |
], | |
"removeMountStubsRecursive": true | |
}, | |
"mounts": [ | |
{ | |
"dest": "/", | |
"input": 0, | |
"output": 0 | |
} | |
] | |
} | |
}, | |
"constraints": {}, | |
"platform": { | |
"Architecture": "amd64", | |
"OS": "linux" | |
} | |
} | |
}, | |
{ | |
"id": "step2", | |
"inputs": [ | |
"step0:0" | |
], | |
"op": { | |
"Op": { | |
"exec": { | |
"meta": { | |
"args": [ | |
"/bin/sh", | |
"-c", | |
"apk update \u0026\u0026 apk upgrade \u0026\u0026 apk add go git" | |
], | |
"cwd": "/", | |
"env": [ | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | |
], | |
"removeMountStubsRecursive": true | |
}, | |
"mounts": [ | |
{ | |
"dest": "/", | |
"input": 0, | |
"output": 0 | |
} | |
] | |
} | |
}, | |
"constraints": {}, | |
"platform": { | |
"Architecture": "amd64", | |
"OS": "linux" | |
} | |
} | |
}, | |
{ | |
"id": "step3", | |
"inputs": [ | |
"step2:0" | |
], | |
"op": { | |
"Op": { | |
"file": { | |
"actions": [ | |
{ | |
"Action": { | |
"mkdir": { | |
"makeParents": true, | |
"mode": 493, | |
"path": "/milla", | |
"timestamp": -1 | |
} | |
}, | |
"input": 0, | |
"output": 0, | |
"secondaryInput": -1 | |
} | |
] | |
} | |
}, | |
"constraints": {} | |
} | |
}, | |
{ | |
"id": "step4", | |
"op": { | |
"Op": { | |
"source": { | |
"attrs": { | |
"local.followpaths": "[\"*.go\",\"go.mod\",\"go.sum\"]", | |
"local.sharedkeyhint": "context" | |
}, | |
"identifier": "local://context" | |
} | |
}, | |
"constraints": {} | |
} | |
}, | |
{ | |
"id": "step5", | |
"inputs": [ | |
"step3:0", | |
"step4:0" | |
], | |
"op": { | |
"Op": { | |
"file": { | |
"actions": [ | |
{ | |
"Action": { | |
"copy": { | |
"allowEmptyWildcard": true, | |
"allowWildcard": true, | |
"createDestPath": true, | |
"dest": "/milla/", | |
"dirCopyContents": true, | |
"followSymlink": true, | |
"mode": -1, | |
"src": "/go.sum", | |
"timestamp": -1 | |
} | |
}, | |
"input": 0, | |
"output": -1, | |
"secondaryInput": 1 | |
}, | |
{ | |
"Action": { | |
"copy": { | |
"allowEmptyWildcard": true, | |
"allowWildcard": true, | |
"createDestPath": true, | |
"dest": "/milla/", | |
"dirCopyContents": true, | |
"followSymlink": true, | |
"mode": -1, | |
"src": "/go.mod", | |
"timestamp": -1 | |
} | |
}, | |
"input": 2, | |
"output": 0, | |
"secondaryInput": 1 | |
} | |
] | |
} | |
}, | |
"constraints": {} | |
} | |
}, | |
{ | |
"id": "step6", | |
"inputs": [ | |
"step5:0" | |
], | |
"op": { | |
"Op": { | |
"exec": { | |
"meta": { | |
"args": [ | |
"/bin/sh", | |
"-c", | |
"go mod download" | |
], | |
"cwd": "/milla", | |
"env": [ | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | |
], | |
"removeMountStubsRecursive": true | |
}, | |
"mounts": [ | |
{ | |
"dest": "/", | |
"input": 0, | |
"output": 0 | |
} | |
] | |
} | |
}, | |
"constraints": {}, | |
"platform": { | |
"Architecture": "amd64", | |
"OS": "linux" | |
} | |
} | |
}, | |
{ | |
"id": "step7", | |
"inputs": [ | |
"step6:0", | |
"step4:0" | |
], | |
"op": { | |
"Op": { | |
"file": { | |
"actions": [ | |
{ | |
"Action": { | |
"copy": { | |
"allowEmptyWildcard": true, | |
"allowWildcard": true, | |
"createDestPath": true, | |
"dest": "/milla/", | |
"dirCopyContents": true, | |
"followSymlink": true, | |
"mode": -1, | |
"src": "/*.go", | |
"timestamp": -1 | |
} | |
}, | |
"input": 0, | |
"output": 0, | |
"secondaryInput": 1 | |
} | |
] | |
} | |
}, | |
"constraints": {} | |
} | |
}, | |
{ | |
"id": "step8", | |
"inputs": [ | |
"step7:0" | |
], | |
"op": { | |
"Op": { | |
"exec": { | |
"meta": { | |
"args": [ | |
"/bin/sh", | |
"-c", | |
"go build" | |
], | |
"cwd": "/milla", | |
"env": [ | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" | |
], | |
"removeMountStubsRecursive": true | |
}, | |
"mounts": [ | |
{ | |
"dest": "/", | |
"input": 0, | |
"output": 0 | |
} | |
] | |
} | |
}, | |
"constraints": {}, | |
"platform": { | |
"Architecture": "amd64", | |
"OS": "linux" | |
} | |
} | |
}, | |
{ | |
"id": "step9", | |
"inputs": [ | |
"step1:0", | |
"step8:0" | |
], | |
"op": { | |
"Op": { | |
"file": { | |
"actions": [ | |
{ | |
"Action": { | |
"copy": { | |
"allowEmptyWildcard": true, | |
"allowWildcard": true, | |
"createDestPath": true, | |
"dest": "/home/user/milla", | |
"dirCopyContents": true, | |
"followSymlink": true, | |
"mode": -1, | |
"src": "/milla/milla", | |
"timestamp": -1 | |
} | |
}, | |
"input": 0, | |
"output": 0, | |
"secondaryInput": 1 | |
} | |
] | |
} | |
}, | |
"constraints": {} | |
} | |
}, | |
{ | |
"id": "step10", | |
"inputs": [ | |
"step9:0" | |
], | |
"op": { | |
"Op": { | |
"exec": { | |
"meta": { | |
"args": [ | |
"/bin/sh", | |
"-c", | |
"chown user:user \"$HOME/milla\"" | |
], | |
"cwd": "/", | |
"env": [ | |
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", | |
"HOME=/home/user" | |
], | |
"removeMountStubsRecursive": true | |
}, | |
"mounts": [ | |
{ | |
"dest": "/", | |
"input": 0, | |
"output": 0 | |
} | |
] | |
} | |
}, | |
"constraints": {}, | |
"platform": { | |
"Architecture": "amd64", | |
"OS": "linux" | |
} | |
} | |
}, | |
{ | |
"id": "step11", | |
"inputs": [ | |
"step10:0" | |
], | |
"op": { | |
"Op": null | |
} | |
} | |
] | |
}, | |
"buildType": "https://mobyproject.org/buildkit@v1", | |
"builder": { | |
"id": "https://github.com/terminaldweller/milla/actions/runs/9140559957" | |
}, | |
"invocation": { | |
"configSource": { | |
"entryPoint": "Dockerfile" | |
}, | |
"environment": { | |
"platform": "linux/amd64" | |
}, | |
"parameters": { | |
"args": { | |
"label:org.opencontainers.image.created": "2024-05-18T14:27:58.218Z", | |
"label:org.opencontainers.image.description": "LLM IRC bot with syntax-hilighting", | |
"label:org.opencontainers.image.licenses": "GPL-3.0", | |
"label:org.opencontainers.image.revision": "22ca9a130ffb358ffce3c4d300f11ad3ce3b074d", | |
"label:org.opencontainers.image.source": "https://github.com/terminaldweller/milla", | |
"label:org.opencontainers.image.title": "milla", | |
"label:org.opencontainers.image.url": "https://github.com/terminaldweller/milla", | |
"label:org.opencontainers.image.version": "main" | |
}, | |
"frontend": "dockerfile.v0", | |
"locals": [ | |
{ | |
"name": "context" | |
}, | |
{ | |
"name": "dockerfile" | |
} | |
] | |
} | |
}, | |
"materials": [ | |
{ | |
"digest": { | |
"sha256": "176e0869c38aeaede37e594fcf182c91d44391a932e1d71e99ec204873445a33" | |
}, | |
"uri": "pkg:docker/docker/buildkit-syft-scanner@stable-1" | |
}, | |
{ | |
"digest": { | |
"sha256": "c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b" | |
}, | |
"uri": "pkg:docker/alpine@3.19?platform=linux%2Famd64" | |
} | |
], | |
"metadata": { | |
"buildFinishedOn": "2024-05-18T14:28:39.475938852Z", | |
"buildInvocationID": "w0jfl8j6njxbdca2dk5xnb0sa", | |
"buildStartedOn": "2024-05-18T14:27:58.77278046Z", | |
"completeness": { | |
"environment": true, | |
"materials": false, | |
"parameters": true | |
}, | |
"https://mobyproject.org/buildkit@v1#metadata": { | |
"layers": { | |
"step0:0": [ | |
[ | |
{ | |
"digest": "sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8", | |
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", | |
"size": 3408729 | |
} | |
] | |
], | |
"step10:0": [ | |
[ | |
{ | |
"digest": "sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8", | |
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", | |
"size": 3408729 | |
}, | |
{ | |
"digest": "sha256:e71c64a6d3d6bbbadd6010744e16b6da5c492dedeab2a9faab001d450e98c63d", | |
"mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", | |
"size": 1260 | |
}, | |
{ | |
"digest": "sha256:1012e6396cacd4ff3f991ba1bba6d54f46005232748084f2ccdda3ce36a17980", | |
"mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", | |
"size": 14263552 | |
}, | |
{ | |
"digest": "sha256:2f143ad00772c03c615ac7efe01d25340629885935f4ce8a107b32f827b98141", | |
"mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", | |
"size": 14263550 | |
} | |
] | |
], | |
"step1:0": [ | |
[ | |
{ | |
"digest": "sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8", | |
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", | |
"size": 3408729 | |
}, | |
{ | |
"digest": "sha256:e71c64a6d3d6bbbadd6010744e16b6da5c492dedeab2a9faab001d450e98c63d", | |
"mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", | |
"size": 1260 | |
} | |
] | |
], | |
"step9:0": [ | |
[ | |
{ | |
"digest": "sha256:4abcf20661432fb2d719aaf90656f55c287f8ca915dc1c92ec14ff61e67fbaf8", | |
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip", | |
"size": 3408729 | |
}, | |
{ | |
"digest": "sha256:e71c64a6d3d6bbbadd6010744e16b6da5c492dedeab2a9faab001d450e98c63d", | |
"mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", | |
"size": 1260 | |
}, | |
{ | |
"digest": "sha256:1012e6396cacd4ff3f991ba1bba6d54f46005232748084f2ccdda3ce36a17980", | |
"mediaType": "application/vnd.oci.image.layer.v1.tar+gzip", | |
"size": 14263552 | |
} | |
] | |
] | |
}, | |
"source": { | |
"infos": [ | |
{ | |
"data": "RlJPTSBhbHBpbmU6My4xOSBhcyBidWlsZGVyClJVTiBhcGsgdXBkYXRlICYmIFwKICAgICAgYXBrIHVwZ3JhZGUgJiYgXAogICAgICBhcGsgYWRkIGdvIGdpdApXT1JLRElSIC9taWxsYQpDT1BZIGdvLnN1bSBnby5tb2QgL21pbGxhLwpSVU4gZ28gbW9kIGRvd25sb2FkCkNPUFkgKi5nbyAvbWlsbGEvClJVTiBnbyBidWlsZAoKRlJPTSBhbHBpbmU6My4xOQpFTlYgSE9NRSAvaG9tZS91c2VyClJVTiBzZXQgLWV1eDsgXAogIGFkZHVzZXIgLXUgMTAwMSAtRCAtaCAiJEhPTUUiIHVzZXI7IFwKICBta2RpciAiJEhPTUUvLmlyc3NpIjsgXAogIGNob3duIC1SIHVzZXI6dXNlciAiJEhPTUUiCkNPUFkgLS1mcm9tPWJ1aWxkZXIgL21pbGxhL21pbGxhICIkSE9NRS9taWxsYSIKUlVOIGNob3duIHVzZXI6dXNlciAiJEhPTUUvbWlsbGEiCkVOVFJZUE9JTlQgWyJob21lL3VzZXIvbWlsbGEiXQo=", | |
"digestMapping": { | |
"sha256:1080b41251b7eab28d57915a237e4ed8639a8a081cfd826870b71faf60e7cc1e": "step1", | |
"sha256:cff3d192c7b8a29f29abe71ea9721c7947e837effb7447acd3744bcab0353242": "step0" | |
}, | |
"filename": "Dockerfile", | |
"language": "Dockerfile", | |
"llbDefinition": [ | |
{ | |
"id": "step0", | |
"op": { | |
"Op": { | |
"source": { | |
"attrs": { | |
"local.differ": "none", | |
"local.followpaths": "[\"Dockerfile\",\"Dockerfile.dockerignore\",\"dockerfile\"]", | |
"local.sharedkeyhint": "dockerfile" | |
}, | |
"identifier": "local://dockerfile" | |
} | |
}, | |
"constraints": {} | |
} | |
}, | |
{ | |
"id": "step1", | |
"inputs": [ | |
"step0:0" | |
], | |
"op": { | |
"Op": null | |
} | |
} | |
] | |
} | |
], | |
"locations": { | |
"step0": { | |
"locations": [ | |
{ | |
"ranges": [ | |
{ | |
"end": { | |
"line": 11 | |
}, | |
"start": { | |
"line": 11 | |
} | |
} | |
] | |
}, | |
{ | |
"ranges": [ | |
{ | |
"end": { | |
"line": 1 | |
}, | |
"start": { | |
"line": 1 | |
} | |
} | |
] | |
} | |
] | |
}, | |
"step1": { | |
"locations": [ | |
{ | |
"ranges": [ | |
{ | |
"end": { | |
"line": 13 | |
}, | |
"start": { | |
"line": 13 | |
} | |
}, | |
{ | |
"end": { | |
"line": 14 | |
}, | |
"start": { | |
"line": 14 | |
} | |
}, | |
{ | |
"end": { | |
"line": 15 | |
}, | |
"start": { | |
"line": 15 | |
} | |
}, | |
{ | |
"end": { | |
"line": 16 | |
}, | |
"start": { | |
"line": 16 | |
} | |
} | |
] | |
} | |
] | |
}, | |
"step10": { | |
"locations": [ | |
{ | |
"ranges": [ | |
{ | |
"end": { | |
"line": 18 | |
}, | |
"start": { | |
"line": 18 | |
} | |
} | |
] | |
} | |
] | |
}, | |
"step2": { | |
"locations": [ | |
{ | |
"ranges": [ | |
{ | |
"end": { | |
"line": 2 | |
}, | |
"start": { | |
"line": 2 | |
} | |
}, | |
{ | |
"end": { | |
"line": 3 | |
}, | |
"start": { | |
"line": 3 | |
} | |
}, | |
{ | |
"end": { | |
"line": 4 | |
}, | |
"start": { | |
"line": 4 | |
} | |
} | |
] | |
} | |
] | |
}, | |
"step3": { | |
"locations": [ | |
{ | |
"ranges": [ | |
{ | |
"end": { | |
"line": 5 | |
}, | |
"start": { | |
"line": 5 | |
} | |
} | |
] | |
} | |
] | |
}, | |
"step4": {}, | |
"step5": { | |
"locations": [ | |
{ | |
"ranges": [ | |
{ | |
"end": { | |
"line": 6 | |
}, | |
"start": { | |
"line": 6 | |
} | |
} | |
] | |
} | |
] | |
}, | |
"step6": { | |
"locations": [ | |
{ | |
"ranges": [ | |
{ | |
"end": { | |
"line": 7 | |
}, | |
"start": { | |
"line": 7 | |
} | |
} | |
] | |
} | |
] | |
}, | |
"step7": { | |
"locations": [ | |
{ | |
"ranges": [ | |
{ | |
"end": { | |
"line": 8 | |
}, | |
"start": { | |
"line": 8 | |
} | |
} | |
] | |
} | |
] | |
}, | |
"step8": { | |
"locations": [ | |
{ | |
"ranges": [ | |
{ | |
"end": { | |
"line": 9 | |
}, | |
"start": { | |
"line": 9 | |
} | |
} | |
] | |
} | |
] | |
}, | |
"step9": { | |
"locations": [ | |
{ | |
"ranges": [ | |
{ | |
"end": { | |
"line": 17 | |
}, | |
"start": { | |
"line": 17 | |
} | |
} | |
] | |
} | |
] | |
} | |
} | |
}, | |
"vcs": { | |
"localdir:context": ".", | |
"localdir:dockerfile": ".", | |
"revision": "22ca9a130ffb358ffce3c4d300f11ad3ce3b074d", | |
"source": "https://github.com/terminaldweller/milla" | |
} | |
}, | |
"reproducible": false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment