UNCLASSIFIED

Verified Commit 08822ba2 authored by Al Fontaine's avatar Al Fontaine
Browse files

refactor for new pipeline

parent fda26175
ARG BASE_REGISTRY=registry.access.redhat.com
ARG BASE_IMAGE=ubi8/ubi
ARG BASE_TAG=8.1
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
ARG VERSION=5.15.12
ARG DISTRO_NAME=apache-activemq-${VERSION}
ARG USER_NAME=activemq
ARG ACTIVEMQ_HOME=/opt/activemq
LABEL source=$SOURCE \
name="ActiveMQ" \
vendor="Apache" \
version=$VERSION \
summary="Apache ActiveMQ™ is the most popular open source, multi-protocol, Java-based messaging server. "
RUN yum install -y java
COPY ${DISTRO_NAME}.tar.gz /opt
RUN tar -zxf /opt/${DISTRO_NAME}.tar.gz -C /opt && \
rm -f /opt/${DISTRO_NAME}.tar.gz && \
ln -s /opt/${DISTRO_NAME} ${ACTIVEMQ_HOME} && \
useradd -r ${USER_NAME} --uid=1000 && \
chown -R ${USER_NAME}:${USER_NAME} /opt/${DISTRO_NAME} && \
chown -h ${USER_NAME}:${USER_NAME} ${ACTIVEMQ_HOME}
USER ${USER_NAME}
WORKDIR ${ACTIVEMQ_HOME}
EXPOSE 61616 8161 5672 61613 1883 61614
CMD ["bin/activemq", " start"]
@Library('DCCSCR@master') _
dccscrPipeline(version: "5.15.12")
# activemq # Apache ActiveMQ v5.15.12
## Usage
`docker run -d -p 61616:61616 -p 8161:8161 <image_name>
## Port map
61616 JMS
8161 UI
5672 AMQP
61613 STOMP
1883 MQTT
61614 WS
resources:
- url: "https://downloads.apache.org/activemq/5.15.12/apache-activemq-5.15.12-bin.tar.gz"
filename: "apache-activemq-5.15.12.tar.gz"
validation:
type: "sha512"
value: "3c6e44bcd53d73ab03063a52244e54d26d39eb38b5c0bba6c34bc639645eb1a2a0004cb309ee3162a013977384157e345cf1c69d93f8c9a1e11fb690680eb24a"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment