Based on bellsoft/liberica-openjdk-alpine:13, as lightweight as possible AND multiarch (Support for Apple M1 chip / aarch64 aka ARM64).
Published on the Docker Hub: https://hub.docker.com/r/symptoma/activemq
Current version of ActiveMQ is 5.16.4: https://archive.apache.org/dist/activemq/5.16.4/
Note: Since 5.16.0 the Web Console is not reachable by default, as it only listens to 127.0.0.1 inside the container. See AMQ-8018 for more details.
docker build -t symptoma/activemq .
docker run -it -p 61616:61616 -p 8161:8161 symptoma/activemq:latest
Bind more ports if you need to.
First, commit your change to Git.
git commit -m "Update ActiveMQ to 5.16.4"
Then tag it.
git tag -a v5.16.4 -m 'Release 5.16.4'
Then push it to Github.
git push && git push origin --tags
Each commit to master is automatically published to Docker Hub in the latest label. Tags are published in the corresponding versions.
Publishing manually works like this (after docker login):
docker tag f1aa123a520f symptoma/activemq:5.16.4
docker push symptoma/activemq
Prepare the buildx context and use it:
docker buildx createdocker buildx use <name>
Then build for multiple platforms:
docker buildx build --push --platform linux/arm,linux/arm64,linux/amd64 --tag symptoma/activemq:5.16.4 .docker buildx build --push --platform linux/arm,linux/arm64,linux/amd64 --tag symptoma/activemq:latest .