name | author | icon | description | tags | containerImage | containerImageUrl | url | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dockle plugin for Woodpecker-CI |
EuryeceTelecom |
Scan containers with dockle |
|
euryecetelecom/woodpeckerci-dockle |
Woodpecker-CI plugin to scan containers with dockle (Container Image Linter for Security, Helping build the Best-Practice Docker Image) https://github.com/goodwithtech/dockle.
Settings Name | Default | Description |
---|---|---|
exit-code |
1 |
If an issue is detected let the step fail |
exit-level |
warn |
Define alert levels (can be info, warn or fatal) |
build-directory |
${CI_WORKSPACE} |
Directory containing the Dockerfile to use to build the container |
dockerfile |
Dockerfile |
Dockerfile to use |
dockle-ignores |
none | Dockle rules to ignore (cf https://github.com/goodwithtech/dockle/blob/master/CHECKPOINT.md) |
This container require privilegied capabilities to communicate with host docker daemon, like woodpeckerci/plugin-docker-buildx. Ensure the project configuration takes it in account (verified has to be enabled).
pipeline:
dockle_check:
image: euryecetelecom/woodpeckerci-dockle
volumes:
- /var/run/docker.sock:/var/run/docker.sock
pipeline:
dockle_check:
image: euryecetelecom/woodpeckerci-dockle
volumes:
- /var/run/docker.sock:/var/run/docker.sock
settings:
dockerfile: MyCustomDockerfile
build-directory: ./docker
exit-code: 0
exit-level: info
dockle-ignores: CIS-DI-0001,DKL-DI-0006