Skip to content

Latest commit

 

History

History

docker

Testing Docker Images

dockerfile_lint

# Installation and usage instructions
# https://github.com/projectatomic/dockerfile_lint

$ dockerfile_lint -f Dockerfile -r basic_rules.yaml
$ dockerfile_lint -f Dockerfile -r recommended_label_rules.yaml
$ dockerfile_lint -f Dockerfile -r security_rules.yaml

Snyk

# Installation and usage instructions
# https://docs.snyk.io/snyk-cli/install-the-snyk-cli

$ docker build -t lreimer/snyk-test:1.0 .
$ snyk container test --file=Dockerfile lreimer/snyk-test:1.0

Container Structure Tests

# see https://github.com/GoogleContainerTools/container-structure-test
$ docker build -t lreimer/structure-test:1.0 .
$ container-structure-test test --image lreimer/structure-test:1.0 --config structure_test.yaml

Terratest

# see https://terratest.gruntwork.io/docs/getting-started/quick-start/#example-3-docker
$ go test
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy