#Hi ๐Ÿ‘‹

1 messages ยท Page 1 of 1 (latest)

carmine ravine
#

For context my goal is to have a shareable set of tools, all running inside containers, to perform all tasks we need to develop Go softwares: building, testing, linting, generating files, etc.
Currently Iโ€™m doing it with a lot of custom stuff in make + bake + huge Dockerfile (like 40+ stages)

#

I did a small layer on top of dagger: https://github.com/eunomie/dague
It can be seen as:

  • a set of mage targets
  • a lib of dagger based tasks
  • an opinionated lib on top of dagger (as an example itโ€™s possible to do c.Container().From(BuildImage).Exec(apkAdd("build-base")).Exec(goInstall("golang.org/x/vuln/cmd/govulncheck@latestโ€, "mvdan.cc/gofumpt@latest")))
    The README is very basic, but Iโ€™m trying it on top of one of the docker scan cli plugin to see whatโ€™s possible for real (link in the readme to the test branch I've made)
GitHub

Contribute to eunomie/dague development by creating an account on GitHub.

sterile moss
#

I like the idea of an opinionated library on top of dagger! apkAdd and goInstall are awesome. Looking forward to seeing more!

covert ravine
#

Yes, that's basically one motivation behind these language specific SDK.
Extensions will push the idea further, but already having a bunch of generic operations on top of dagger is great! Thanks for sharing

(btw, are you CrEv on linuxfr?)

carmine ravine
#

Yeah, that's me ๐Ÿ˜‰

#

I improved a bit the different helpers. Some of them can be seen here: https://github.com/eunomie/dague#helpers-on-top-of-dagger
I added an AptInstall that includes by default the update and the cleaning.
And that makes me wondering if there's a plan to exec multiple commands at once. A bit like apt-get update && apt-get install ... in one single layer

GitHub

dagger + Mage tools for Go. Contribute to eunomie/dague development by creating an account on GitHub.