Note
|
Extends ActiveMQ Artemis broker container image |
See LICENSE file.
First you want to install minishift https://docs.openshift.org/latest/minishift/getting-started/installing.html. Start it up and set the environment
$ minishift start
$ eval $(minishift oc-env)
$ eval $(minishift docker-env)
$ oc login #developer
Using Cekit build the image
$ cekit build --build-engine buildah
Deploy the project.
$ oc new-project broker
$ oc create -n broker -f activemq-artemis-image-streams.yaml
$ oc process -n broker -f templates/activemq-artemis-basic.yaml -p APPLICATION_NAME=broker-app -p AMQ_USER=<username> -p AMQ_PASSWORD=<amqpassword> | oc create -n broker -f -
Push the image. You will need the ip address of the OpenShift container registry. You can get this from the image stream in the OpenShift console
$ docker login -u developer -p $(oc whoami -t) openshift-docker-ip:5000
$ docker tag artemiscloud/activemq-artemis-broker-openshift:latest openshift-docker-ip:5000/broker/activemq-artemis-broker-openshift:1.0
$ docker push openshift-docker-ip:5000/broker/activemq-artemis-broker-openshift:1.0
cekit build docker
The ActiveMQ Artemis broker container images are pushed to https://quay.io/repository/artemiscloud/activemq-artemis-broker-kubernetes
The ActiveMQ Artemis broker container images have release tags and special tags.
The image release tags point to images built from the sources of the releated release tags,
i.e. the 1.0.0
image release tag points to the image built from
the sources of the [v1.0.0](https://github.com/artemiscloud/activemq-artemis-broker-kubernetes-image/tree/v1.0.0) release tag
The image special tags are latest
and dev-latest
.
The latest
tag points to the image built from the sources of the latest release tag.
The dev-latest
tag points to the image built from the sources of the main branch, it should be used only for development purposes, it expires 7 days after the push.