Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.69 KB

BUILD.md

File metadata and controls

45 lines (29 loc) · 1.69 KB

Building the ActiveMQ Artemis Docker Image

Depending on your platform the build process may differ slightly. Support for as many build platforms as possible is provided in a best effort basis.

Prerequisites

To build the ActiveMQ Artemis Docker Image the following tools are necessary:

  • Docker
  • Make
  • goss and dgoss
  • shellcheck
  • bats
  • jq
  • uuidgen (may need to install uuid and soft link as uuidgen depending on distro)

Supported Platforms

Only UN*X based operating systems are supported currently for building this image.

Building the image

To build all versions running all tests jus type

make

This will run the full build (with the exception of the deployment phase) for all versions presents in the filel tags.csv.

To just build just one version you can call make with VERSION e.g:

make 2.6.0

It is also possible to just build the image without testing with make build_2.8.0, just testing: make test_2.8.0, running the image: make run_2.8.0 or even run the image for a shell make runsh_2.8.0.

You can also override the artemis binary distribution url by passing a parameter containing a zip file containing the distribution. ie. make BUILD_ARGS="--build-arg ACTIVEMQ_DISTRIBUTION_URL=https://repository.apache.org/content/repositories/releases/org/apache/activemq/apache-artemis/2.6.4/apache-artemis-2.8.0-bin.zip" 2.8.0. Note that you also need to pass in the version # as the first argument (ie 2.8.0)

You can build without using the cache by setting REBUILD=y in the environment and suppress the --quiet switch by setting DEBUG=y

DEBUG=y REBUILD=y make 2.23.0