docker-coala-base icon indicating copy to clipboard operation
docker-coala-base copied to clipboard

Checkstyle binary is not part of docker image

Open yukiisbored opened this issue 7 years ago • 4 comments

It seems the checkstyle.jar file is not part of this docker image because every time I use it with this docker image, It downloads the jar file.

$ docker run -it --rm --volumes=$(pwd):/work --workdir=/work coala/base coala
Executing section java...
[INFO][02:57:59] Downloading '/root/.local/share/coala-bears/CheckstyleBear/checkstyle.jar' for bear CheckstyleBear from http://sourceforge.net/projects/checkstyle/files/checkstyle/6.15/checkstyle-6.15-all.jar.

To confirm the fact it's not part of this docker image, I ran bash inside the docker image and see if it's there.

# ls -lah /root/.local/share/coala-bears/CheckstyleBear/checkstyle.jar
ls: cannot access '/root/.local/share/coala-bears/CheckstyleBear/checkstyle.jar': No such file or directory
# ls -lah /usr/local/share/coala-bears/CheckstyleBear/checkstyle.jar
ls: cannot access '/usr/local/share/coala-bears/CheckstyleBear/checkstyle.jar': No such file or directory
# find / -name "*checkstyle*.jar"
#

yukiisbored avatar Dec 04 '16 03:12 yukiisbored