Skip to content

A repository to house a PIQUE model that analyzes dockerfiles and reports static analysis tool findings. The intention is for this project to be standalone for dockerfiles while also being used by the greater PIQUE cloud model

License

Notifications You must be signed in to change notification settings

MSUSEL/msusel-pique-cloud-dockerfile

Repository files navigation

MSUSEL-PIQUE-cloud-dockerfile

Introduction

This project is an operationalized PIQUE model for the assessment of quality in docker images.

Because of the various development environment challenges when dealing with numerous 3rd party applications, this project is also provided as a packaged standalone docker image. That image is available here.

Tools and 3rd party libraries

These tools and 3rd party libraries will be automatically pulled with the docker image

The dockerfile has been designed to easily adjust version information as new versions are released.

Run environment

Docker

docker engine 20.10.24 (not tested with versions 21+)

The image for this project is hosted on dockerhub here. Instructions to download and run are supplied below

It is important to note, that the docker image cannot be run without the msusel/nvd-mirror image. A docker-compose file is provided that handles this, see Running below.

not Docker

It is not suggested to run PIQUE-cloud-dockerfile without the pre-built docker image, but all files and configs are supplied on this repository.

Running

  1. If not already installed on your system, download and install Docker engine
  2. Navigate to a working directory for this project
  3. Run the following command to download the docker-compose file:curl -o docker-compose.yml https://raw.githubusercontent.com/MSUSEL/msusel-pique-cloud-dockerfile/refs/heads/master/docker-compose.yml
  4. Create two directories, input and output inside the working directory.
  5. Create a file named 'docker-image-target.json' and place it in the 'input' directory.
  6. Copy and paste the contents of the targets file to 'docker-image-target.json'
    1. Modify 'docker-image-target.json' to target the docker images to be analyzed.
  7. The resulting directory structure should look like this:
├── $WORKDIR
│   ├── input
│   │   ├── docker-image-target.json
│   ├── output
  1. Run the command docker compose up
  2. Results will be generated in the 'output' directory

Funding Agency:

About

A repository to house a PIQUE model that analyzes dockerfiles and reports static analysis tool findings. The intention is for this project to be standalone for dockerfiles while also being used by the greater PIQUE cloud model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •