Skip to content
Snippets Groups Projects

code-analysis: Factor out package versions into Docker build arguments, replace default-jre -> default-jre-headless

Merged Roman Azarenko requested to merge 8847-autoupdate-dockerfile into master
  1. Oct 10, 2022
    • Roman Azarenko's avatar
      code-analysis: Factor out package versions into Docker build arguments,... · aaba21cd
      Roman Azarenko authored
      code-analysis: Factor out package versions into Docker build arguments, replace default-jre -> default-jre-headless
      
      Package versions are now factored out as arguments, so that they can even be automatically updated from
      iopsys/iopsyswrt by a pipeline.
      
      default-jre has been replaced by default-jre-headless, since this image is designed to run in a container without UI,
      so there's no need to pull in graphical dependencies, saving around 300 MB in compressed form:
      
      	REPOSITORY                                                   TAG        IMAGE ID       CREATED          SIZE
      	dev.iopsys.eu:5050/iopsys/gitlab-ci-pipeline/code-analysis   iop-8847   aaf075c8e753   23 minutes ago   2.25GB
      
      	REPOSITORY             TAG       IMAGE ID       CREATED        SIZE
      	iopsys/code-analysis   latest    ffaa1c3094dc   7 months ago   2.55GB
      Unverified
      aaba21cd
Loading