buildx
buildx copied to clipboard
Allow to use TypeScript for Bake
Description
Bake is super cool, but HCL is very limiting.
Terraform is working around this now through https://github.com/hashicorp/terraform-cdk.
I wonder if something similar could be done for buildx. :)
but HCL is very limiting.
Can you elaborate on these limitations?
I want to run external commands for example, like git rev-parse HEAD
.
This may be useful: https://github.com/clarkmcc/go-typescript
This one might as well: https://github.com/jetify-com/tyson Not as a CDK, rather for using TypeScript as a configuration language. The library parsing it is conveniently written in Go :)