Skip to content
This repository has been archived by the owner on Jun 22, 2020. It is now read-only.

Remove the sonar-scanner-cli zip from the Image #36

Open
hansingt opened this issue Jan 8, 2019 · 0 comments
Open

Remove the sonar-scanner-cli zip from the Image #36

hansingt opened this issue Jan 8, 2019 · 0 comments

Comments

@hansingt
Copy link

hansingt commented Jan 8, 2019

Currently, the Dockerfile downloads the sonar-scanner-cli from sonarsource.com and unzips it to /usr/bin/sonar-scanner. But it does not delete the original zip file. Thus, the image size is needlessly increased and the image is not "clean" as well.

A simple rm sonar-scanner-cli-${SONAR_SCANNER_VERSION}-linux.zip within the Dockerfile would resolve this.

saily added a commit to saily/gitlab-sonar-scanner that referenced this issue Jan 8, 2019
Signed-off-by: Daniel Widerin <daniel@widerin.net>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants