mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
* create a separate Dockerfile for httphandler Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com> * add Dockerfile for cli, edit README Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com> * modify gh action to use new cli Dockerfile Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com> --------- Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
420 B
420 B
Docker Build
Build your own Docker image
- Clone Project
git clone https://github.com/kubescape/kubescape.git kubescape && cd "$_"
- Build kubescape CLI Docker image
make all
docker buildx build -t kubescape-cli -f build/kubescape-cli.Dockerfile --build-arg="ks_binary=kubescape" --load .
- Build kubescape Docker image
docker buildx build -t kubescape -f build/Dockerfile --load .