Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/articola-tools/dockerfile-security-scanner
Preconfigured scanner for Dockerfile files, used in Articola Tools organization's repositories
https://github.com/articola-tools/dockerfile-security-scanner
articola articola-tools docker dockerfile security security-scanner
Last synced: 3 days ago
JSON representation
Preconfigured scanner for Dockerfile files, used in Articola Tools organization's repositories
- Host: GitHub
- URL: https://github.com/articola-tools/dockerfile-security-scanner
- Owner: Articola-Tools
- License: apache-2.0
- Created: 2024-10-19T10:44:41.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-12-05T13:29:48.000Z (about 1 month ago)
- Last Synced: 2024-12-05T14:29:47.163Z (about 1 month ago)
- Topics: articola, articola-tools, docker, dockerfile, security, security-scanner
- Language: Dockerfile
- Homepage:
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Articola Tools' Dockerfile security scanner
[![image size](https://ghcr-badge.egpl.dev/articola-tools/dockerfile-security-scanner/size?color=dodgerblue)](https://ghcr-badge.egpl.dev/articola-tools/dockerfile-security-scanner/size?color=dodgerblue)
This repo contains Dockerfile with preconfigured [Dockerfile security scanner](https://github.com/aquasecurity/trivy).
This scanner is used in Articola Tools organization's repositories to scan
Dockerfiles for vulnerabilities.## Usage
Use `ghcr.io/articola-tools/dockerfile-security-scanner` Docker image with the
following parameters:- `--group-add $(getent group docker | cut -d: -f3)` - to allow access to
`/var/run/docker.sock`
- `-v /var/run/docker.sock:/var/run/docker.sock` - to mount Docker socket to
container
- name of an image to scanExample command to use this scanner:
```bash
docker run --rm --group-add $(getent group docker | cut -d: -f3) \
-v /var/run/docker.sock:/var/run/docker.sock \
ghcr.io/articola-tools/dockerfile-security-scanner your-image-to-scan:latest
```