Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.5 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.5 KB

Tugboat

Docker utility container for Graylog server and plugin development

This container provides graylog-project, javac and mvn utilities needed for Graylog 6.1 plugin development, packaged on an Ubuntu base. This container is not designed to run as a daemon -- instead it executes a single command (using the current working directory) and then stops and removes itself.

CodeFactor Contributing

System Requirements

  • Docker Desktop for Windows (Intel 64-bit CPU, WSL 2 recommended)
  • Docker Desktop for Mac (Apple Silicon or Intel)
  • Docker for Linux (ARM 64-bit CPU or Intel 64-bit CPU)

Installing Tugboat

Define a bash alias:

alias tugboat='docker run -v $(pwd):/root/work -v $HOME/.m2:/root/.m2 --rm -it robfromboulder/tugboat:6.1.0a'

👆 This maps the current working directory into the container, while using your Maven cache to minimize downloads.

⚠️ When using Docker Desktop on Mac, it's necessary to add virtual file shares (in Settings|Resources|File sharing), or tugboat will fail to run properly.

Using Tugboat

Use Graylog CLI:

tugboat graylog-project version

Use maven:

tugboat mvn --version