Skip to content

Latest commit

 

History

History

jfrogcli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

JFrog CLI Dagger Module

This is a Dagger module for the JFrog CLI tool.

Use it to install the JFrog CLI in a Dagger container.

Usage

Dagger Shell

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

Dagger Go SDK

To use this module from another module:

func doSomething(ctr *Container) {
    ctr = dag.Jfrogcli(JfrogcliOpts{
		Version: "2.52.8",
	}).Install(JfrogcliInstallOpts{
		Base: ctr,
	})

    // ...
}