dalec icon indicating copy to clipboard operation
dalec copied to clipboard

Add CLI to build dalec specs directly for local dev

Open cpuguy83 opened this issue 1 year ago • 1 comments

This gets around the problem of needing to have the default docker builder set with the current frontend already loaded.

The intent of this is for local iteration on dalec.

The CLI is very imperfect and only supports a subset of what buildx can do. The one thing it does that buildx can't is it builds with the changes you currently have in your work tree (or at least current from when the binary was compiled). So ideally use go run ./cmd/localdev build <opts> to make sure it is always current.

asciicast

cpuguy83 avatar Mar 16 '24 15:03 cpuguy83

@cpuguy83 it looks like there are some conflicts now due to the router changes?

adamperlin avatar Apr 25 '24 17:04 adamperlin