docker / buildx

Docker CLI plugin for extended build capabilities with BuildKit
Apache License 2.0
3.33k stars 448 forks source link

Allow to use TypeScript for Bake #2451

Open felipecrs opened 1 month ago

felipecrs commented 1 month ago

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

crazy-max commented 1 month ago

but HCL is very limiting.

Can you elaborate on these limitations?

felipecrs commented 1 month ago

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

felipecrs commented 1 month ago

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