Björn Pedersen 1e1eda5575 Ensure pylint results file exists and has version
Change-Id: I67df75eb477dfc8e0f515a35acba8a349743e03f
Reviewed-on: https://forge.frm2.tum.de/review/20228
Reviewed-by: Bjoern Pedersen <bjoern.pedersen@frm2.tum.de>
Tested-by: Bjoern Pedersen <bjoern.pedersen@frm2.tum.de>
2019-03-26 09:31:53 +01:00
..

This directory contains the necessary files for running tests inside a docker container.

The Dockerfile defines two images:
- base
  -> this is the image used for testing
- docs
  -> Include a latex install for sphinx pdf builds

(The following assumes you have a docker daemon running on your working computer)

To create the images:

  docker build --target <base|docs> --tag secop_<base|docs>:latest .

To test images interactivly:
  docker run -u jenkins -i -t secop<base|docs> /bin/bash

The Jenkinsfile uses this Dockerfile (only approved checked-in versions from master)
to build the images (a rebuild will only happen if the Dockerfile is changed as docker
 caches the images and build information) and  run the test suite inside the container.