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>
20 lines
420 B
Markdown
20 lines
420 B
Markdown
## Docker Build
|
|
|
|
### Build your own Docker image
|
|
|
|
1. Clone Project
|
|
```
|
|
git clone https://github.com/kubescape/kubescape.git kubescape && cd "$_"
|
|
```
|
|
|
|
2. Build kubescape CLI Docker image
|
|
```
|
|
make all
|
|
docker buildx build -t kubescape-cli -f build/kubescape-cli.Dockerfile --build-arg="ks_binary=kubescape" --load .
|
|
```
|
|
|
|
3. Build kubescape Docker image
|
|
```
|
|
docker buildx build -t kubescape -f build/Dockerfile --load .
|
|
```
|