File: README.docker

package info (click to toggle)
pftools 3.2.12-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 92,208 kB
  • sloc: ansic: 17,779; fortran: 12,000; perl: 2,956; sh: 232; makefile: 29; f90: 3
file content (20 lines) | stat: -rw-r--r-- 580 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Build Docker image
export PFTOOLS_VERSION=3.2.12
docker build -t pftools:$PFTOOLS_VERSION --no-cache=true --build-arg BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ') --build-arg PFTOOLS_VERSION=$PFTOOLS_VERSION -f Dockerfile . # 2>&1 >pftools.Dockerfile.log


# List Docker local images (imported or built)
docker images


# Inspect images
docker inspect  pftools:$PFTOOLS_VERSION


# Scan container vulnerabilities
docker scan --file Dockerfile --exclude-base  pftools:$PFTOOLS_VERSION


# Run pfscanV3 in the Docker image
docker run --rm -i -t pftools:$PFTOOLS_VERSION  pfscanV3