melange icon indicating copy to clipboard operation
melange copied to clipboard

melange development environment

Open puerco opened this issue 3 years ago • 1 comments

This PR introduces the first iteration of the melange development environment. It is based on the apko equivalent with two main differences:

  1. It uses our apko image to build the devenv image
  2. 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]

puerco avatar Nov 22 '22 02:11 puerco

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.

puerco avatar Nov 23 '22 01:11 puerco

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 :)

puerco avatar Jan 07 '23 01:01 puerco