This is a Dagger module for the JFrog CLI tool.
Use it to install the JFrog CLI in a Dagger container.
To play with the JFrog CLI in a Dagger shell, run:
$ dagger call install terminal
/ # jf --version
jf version 2.52.8
or even with a custom version and base container:
$ dagger shell --version 2.52.3 install --base alpine
/ # jf --version
jf version 2.52.3
To use this module from another module:
func doSomething(ctr *Container) {
ctr = dag.Jfrogcli(JfrogcliOpts{
Version: "2.52.8",
}).Install(JfrogcliInstallOpts{
Base: ctr,
})
// ...
}