melange development environment
This PR introduces the first iteration of the melange development environment. It is based on the apko equivalent with two main differences:
- It uses our apko image to build the devenv image
- It is based on Wolfi packages :tada:
To run it, execute the same command as the apko devenv:
./hack/make-devenv.sh
It requires https://github.com/wolfi-dev/os/pull/118 to fix a bug with the wolfi key locations and to enable https://github.com/wolfi-dev/os/pull/119 which is required to build the alpine-keys wolfi package (required to build the devenv image).
Signed-off-by: Adolfo García Veytia (Puerco) [email protected]
This does have a bit of overlap w/ the SDK image: https://github.com/chainguard-images/sdk/blob/main/USAGE.md
He, sorry @jdolitsky I didn't remember the sdk :upside_down_face:
Until now I had been running melange using this script adapted from the apko hack I wrote a while back, I am happy to drop this (and the apko devenv script) in favor of the SDK and focus on that one.
Now that we have the alpine-keys package, this should be ready to merge, I've rebased this and addressed the comments @jdolitsky , feel free to close it if it doesn't make sense to keep this and the SDK image :)