Skip to content

Commit 0cebda7

Browse files
committed
build(docker): include findsecbugs-plugin
Since plugins need to be installed in SpotBugs directory, we directly include it in the Dockerfile to avoid downloading again in each new container.
1 parent c8009bd commit 0cebda7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ RUN curl -sfL https://raw.githubusercontent.com/Bearer/bearer/main/contrib/insta
5555

5656
# SpotBugs
5757
RUN curl -sL https://github.com/spotbugs/spotbugs/releases/download/4.9.8/spotbugs-4.9.8.tgz | tar -xzvf - && \
58-
mv spotbugs-* /home/codesectools/sasts/spotbugs
58+
mv spotbugs-* /home/codesectools/sasts/spotbugs && \
59+
curl -sL https://search.maven.org/remotecontent?filepath=com/h3xstream/findsecbugs/findsecbugs-plugin/1.14.0/findsecbugs-plugin-1.14.0.jar > /home/codesectools/sasts/spotbugs/plugin/findsecbugs-plugin-1.14.0.jar
5960
ENV PATH="/home/codesectools/sasts/spotbugs/bin:$PATH"
6061

6162
# Cppcheck

0 commit comments

Comments
 (0)