jenkinsci / aqua-microscanner-plugin

Enables scanning of docker builds in Jenkins for OS package vulnerabilities.
https://plugins.jenkins.io/aqua-microscanner/
Apache License 2.0
35 stars 20 forks source link

more robust image setup #5

Closed bunnyyiu closed 6 years ago

bunnyyiu commented 6 years ago

This patch overwrite the USER and WORKDIR to make sure the current directory is writable. This also install ca-certificates in case not exist in parent image. Thanks.

oranmoshai commented 6 years ago

Thank you for the contribute! Currently we want to keep the build basic as much as possible for example not change the USER during the build.