tangle-network / gadget

A framework for building modular AVS and Tangle Blueprints: https://docs.tangle.tools/developers/blueprints.
https://tangle.tools
Apache License 2.0
12 stars 3 forks source link

feat: allow env vars for `ContextConfig` args #339

Closed Serial-ATA closed 1 week ago

Serial-ATA commented 1 week ago

Since the blueprint template now supports generating Dockerfiles, this makes it a little simpler.

For now, the blueprint template uses an entrypoint script to use env vars as arguments: https://github.com/webb-tools/blueprint-template/blob/main/docker/entrypoint.sh

This makes it possible to just have the binary as the entrypoint without having to rebuild the image when changing arguments.

drewstone commented 1 week ago

Do the docs need updating? How will this be used? Can you add it to a subproject README or something?

Serial-ATA commented 1 week ago

@drewstone Updated the comment for how it'll be used. This (most likely) isn't something that people will be interacting with unless they use the Dockerfile.