I'm running my CI/CD pipeline in Gitlab and I'm using the Jfrog cli to scan my code. The issue is that I'm downloading the cli every time that I'm running the CI/CD pipeline. I want to have that cli in a docker image that I can use every time that I need to run the pipeline in my Gitlab server. Any ideas?
As per installation instructions, you can run JFrog CLI in a docker image:
docker run docker.bintray.io/jfrog/jfrog-cli-go:latest jfrog -v
Or you can build your own Docker image with the JFrog CLI installed. Here a couple of links for that:
docker commit
which is how you can create an image from a running container)