#Hey folks,

1 messages · Page 1 of 1 (latest)

outer anchor
#

I'll try to answer what I can.

If i use Dagger module, does it mean no need to have Dockerfile anymore?

You can have a dockerfile or you can also not use one. I'd say, if you have a dockerfile already, no need to code it.

Can I able to pass a parameter to this module? What I meant, i would like to create one Module such as below, but i want rest of the engineering teams can also able to use this module hence they probably need to pass different image while calling the module that we have on top of this.

Yes. You can have parameters in your function's definition and these are then arguments you give to dagger call.

How can I extend the container functionality here? For example, can i add custom functions like scan and sign the image?

You can call up a specialized pre-built module like with Trivy and run it on your container image, a directory or a git repo.

I'm not quite sure yet how to actually do this programmatically myself though (at least not with Go, which I'm also learning). But, I know it is possible. 🙂

rare fox
outer anchor
humble beacon
#

Sorry about the confusion y’all! Just updated the channel name

humble beacon
#

cc @hollow hazel