From a3b0621a22db0796f7f1f7d65147e9aa56610a41 Mon Sep 17 00:00:00 2001 From: Fabian Neuschmidt Date: Tue, 7 Mar 2017 18:42:59 +0100 Subject: [PATCH] Dockerfile: Add checkstyle.jar at build time Closes https://github.com/coala/docker-coala-base/issues/50 --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8557f83..1f01f22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -305,6 +305,11 @@ RUN curl -L 'http://downloads.sourceforge.net/project/fpgalibre/bakalint/0.4.0/b tar xf /tmp/bl.tar.gz -C /root/ && \ find /tmp -mindepth 1 -prune -exec rm -rf '{}' '+' +# Add checkstyle image +RUN mkdir -p /root/.local/share/coala-bears/CheckstyleBear && \ + curl -fsSL https://github.com/coala/bear-runtime-deps/raw/master/CheckstyleBear/checkstyle-6.15-all.jar > /root/.local/share/coala-bears/CheckstyleBear/checkstyle-6.15-all.jar && \ + find /tmp -mindepth 1 -prune -exec rm -rf '{}' '+' + # Entrypoint script ADD docker-coala.sh /usr/local/bin/ CMD ["/usr/local/bin/docker-coala.sh"]