UNCLASSIFIED

Commit c5054cc3 authored by Andy Maksymowicz's avatar Andy Maksymowicz
Browse files

Update Dockerfile

parent 48488c6a
Pipeline #36427 passed with stage
ARG BASE_REGISTRY=nexus-docker-secure.levelup-dev.io ARG BASE_REGISTRY=registry1.dsop.io
ARG BASE_IMAGE=redhat/openjdk/openjdk13 ARG BASE_IMAGE=ironbank/redhat/openjdk/openjdk13
ARG BASE_TAG=1.13.0 ARG BASE_TAG=1.13.0
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
...@@ -7,22 +7,22 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} ...@@ -7,22 +7,22 @@ FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
LABEL name="ActiveMQ" \ LABEL name="ActiveMQ" \
maintainer="bhearn@anchore.com" \ maintainer="bhearn@anchore.com" \
vendor="Apache" \ vendor="Apache" \
version="5.15.13" \ version="5.16.0" \
release="1" \ release="1" \
summary="Image of ActiveMQ" \ summary="Image of ActiveMQ" \
description="Apache ActiveMQ is an open source, multi-protocol, Java-based messaging server" description="Apache ActiveMQ is an open source, multi-protocol, Java-based messaging server"
COPY apache-activemq-5.15.13-bin.tar.gz / COPY apache-activemq-5.16.0-bin.tar.gz /
# root user is needed to extract files from the ActiveMQ gzip # root user is needed to extract files from the ActiveMQ gzip
USER root USER root
RUN dnf update -y && \ RUN dnf update -y && \
tar -zxf apache-activemq-5.15.13-bin.tar.gz && \ tar -zxf apache-activemq-5.16.0-bin.tar.gz && \
rm apache-activemq-5.15.13-bin.tar.gz && \ rm apache-activemq-5.16.0-bin.tar.gz && \
chmod 755 apache-activemq-5.15.13/bin/activemq && \ chmod 755 apache-activemq-5.16.0/bin/activemq && \
useradd -r activemq --uid=1000 && \ useradd -r activemq --uid=1000 && \
chown -R activemq:activemq apache-activemq-5.15.13 chown -R activemq:activemq apache-activemq-5.16.0
USER activemq USER activemq
...@@ -30,4 +30,4 @@ EXPOSE 8161 61616 5672 61613 1833 ...@@ -30,4 +30,4 @@ EXPOSE 8161 61616 5672 61613 1833
HEALTHCHECK CMD curl localhost:8161 HEALTHCHECK CMD curl localhost:8161
CMD ["apache-activemq-5.15.13/bin/activemq", " start"] CMD ["apache-activemq-5.16.0/bin/activemq", " start"]
\ No newline at end of file \ No newline at end of file
  • Pipeline Status: SUCCESS
    Branch: patch-1

    graph LR
      0([setup]):::INTERNAL_SUCCESS --> 3([Import Artifacts]):::SUCCESS --> 4((/)):::INTERNAL_SUCCESS --> 5([Stage Artifacts]):::SUCCESS --> 6((/)):::INTERNAL_SUCCESS --> 7([Build]):::SUCCESS --> 8([Publish, Scan & Report]):::INTERNAL_NOT_BUILT
    
    classDef SUCCESS font-size:10px
    classDef FAILURE fill:#f44, font-size:10px
    classDef SKIPPED font-size:10px
    classDef ABORTED fill:#889, font-size:10px
    classDef INTERNAL_SUCCESS font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_FAILURE fill:#f44, font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_SKIPPED font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_ABORTED fill:#889, font-size:10px, stroke-dasharray: 2, 1
    
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