Skip to content

Preconfigured scanner for Dockerfile files, used in Articola Tools organization's repositories

License

Notifications You must be signed in to change notification settings

Articola-Tools/dockerfile-security-scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Articola Tools' Dockerfile security scanner

image size

This repo contains Dockerfile with preconfigured Dockerfile security scanner. 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 scan

Example command to use this scanner:

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

About

Preconfigured scanner for Dockerfile files, used in Articola Tools organization's repositories

Topics

Resources

License

Stars

Watchers

Forks

Packages