coala: Identify an unnecessary package in the openSUSE Docker image
coala provides a Docker image that has coala and all official bears and dependencies installed so it can be used for any code analysis supported by coala.
Instructions on how to use this image with Continuous Integration systems like GitLab CI and Travis CI are available in the user manual.
This docker image is pretty large for what it is, making use in CI slow. This task is to find one package being installed by zypper that is unnecessary.
Look through the Dockerfile, and Travis build log, for the docker image.
Select a package that you believe coala may not need.
It can not be related to the R
packages. Removing them will appear to work, but we do not want them removed as that is part of another GCI task).
If you think you have found a unnecessary package, search for it at https://software.opensuse.org/ to check that the package is not a meta-package, as removing them has no effect on image size.
Then edit the Dockerfile to add
RUN rpm -e -f --nodeps package-name
To test, enable Travis CI on your fork, push your change to Github, and if all tests pass then the package was unnecessary.
Do not submit a pull request.
Add a comment on https://github.com/coala/docker-coala-base/issues/55 mentioning the packages which are unnecessary, with a link to your Travis build demonstrating the tests pass with those packages removed.