https://github.com/psypherpunk/docker-spotbugs
Run SpotBugs against a local Java repository.
https://github.com/psypherpunk/docker-spotbugs
Last synced: 4 months ago
JSON representation
Run SpotBugs against a local Java repository.
- Host: GitHub
- URL: https://github.com/psypherpunk/docker-spotbugs
- Owner: PsypherPunk
- Created: 2019-06-28T15:24:12.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2022-03-21T21:58:08.000Z (about 4 years ago)
- Last Synced: 2025-03-18T05:31:50.946Z (over 1 year ago)
- Language: Dockerfile
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `docker-spotbugs`
Run SpotBugs against a local Java repository.
## `docker build`
Build the image using:
```bash
docker build -t spotbugs .
```
## `docker run`
Assuming you're in your application root and have successfully
compiled your application, leaving you a `build/` directory:
```bash
docker run \
--interactive \
--tty \
--rm \
--volume $(pwd)/build:/spotbugs/build \
spotbugs > report.html
```
The resulting `report.html` can now be viewed.