FOSSASIA

coala: Add entrypoint to docker

coala provides a Docker image that has coala (coala-analyzer.org) 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.

The Dockerfile should have an ENTRYPOINT that runs coala --ci in the typical fashion.

The entrypoint should also check for .coafile, and if it is missing then it should run coala-quickstart to generate one.

The documentation can then focus on informing the user to mount the correct volumes, and the docker run is shorter.

Task tags

  • python
  • docker
  • coala
  • bash

Students who completed this task

yuki_is_bored

Task type

  • code Code
  • chrome_reader_mode Documentation / Training
  • web Design
  • assessment Outreach / Research
  • done_all Quality Assurance
close

2016