buildx icon indicating copy to clipboard operation
buildx copied to clipboard

Allow to use TypeScript for Bake

Open felipecrs opened this issue 9 months ago • 4 comments

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

felipecrs avatar May 09 '24 01:05 felipecrs

but HCL is very limiting.

Can you elaborate on these limitations?

crazy-max avatar May 16 '24 14:05 crazy-max

I want to run external commands for example, like git rev-parse HEAD.

felipecrs avatar May 16 '24 14:05 felipecrs

This may be useful: https://github.com/clarkmcc/go-typescript

felipecrs avatar Jun 03 '24 21:06 felipecrs

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

DeanAyalon avatar Oct 13 '24 23:10 DeanAyalon