You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2021/02/18 11:46:59 UTC

[camel] branch master updated: camel-test-infra-artemis: updated Artemis version in container to 2.17.0 (#5100)

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 1c3ca9e  camel-test-infra-artemis: updated Artemis version in container to 2.17.0 (#5100)
1c3ca9e is described below

commit 1c3ca9eaec6748fc431ca1dd2d54e8091180df80
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Thu Feb 18 12:46:24 2021 +0100

    camel-test-infra-artemis: updated Artemis version in container to 2.17.0 (#5100)
---
 .../org/apache/camel/test/infra/artemis/services/Dockerfile         | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test-infra/camel-test-infra-artemis/src/test/resources/org/apache/camel/test/infra/artemis/services/Dockerfile b/test-infra/camel-test-infra-artemis/src/test/resources/org/apache/camel/test/infra/artemis/services/Dockerfile
index e366df4..ead91e3 100644
--- a/test-infra/camel-test-infra-artemis/src/test/resources/org/apache/camel/test/infra/artemis/services/Dockerfile
+++ b/test-infra/camel-test-infra-artemis/src/test/resources/org/apache/camel/test/infra/artemis/services/Dockerfile
@@ -16,17 +16,17 @@ ARG FROMIMAGE
 FROM $FROMIMAGE as artemis-base
 LABEL maintainer="orpiske@apache.org"
 ARG ARTEMIS_VERSION
-ENV ARTEMIS_VERSION ${ARTEMIS_VERSION:-2.7.0}
+ENV ARTEMIS_VERSION ${ARTEMIS_VERSION:-2.17.0}
 ARG ARTEMIS_JOURNAL
 ENV ARTEMIS_JOURNAL ${ARTEMIS_JOURNAL:-aio}
 ENV JMS_BROKER_ROOT /opt/camel-kafka-connector/artemis/
 EXPOSE 1883 5672 8161 61616
-RUN dnf install -y java-1.8.0-openjdk-headless libaio tar gzip && \
+RUN dnf install -y java-11-openjdk-headless libaio tar gzip && \
     dnf clean all && \
     mkdir -p ${JMS_BROKER_ROOT} && \
     cd ${JMS_BROKER_ROOT} && \
     curl https://archive.apache.org/dist/activemq/activemq-artemis/${ARTEMIS_VERSION}/apache-artemis-${ARTEMIS_VERSION}-bin.tar.gz -o apache-artemis.tar.gz && \
-    mkdir -p apache-artemis && tar --strip-components=1 -xvf apache-artemis.tar.gz -C apache-artemis && \
+    mkdir -p apache-artemis && tar --strip-components=1 --exclude=examples/* -xvf apache-artemis.tar.gz -C apache-artemis && \
     rm -f apache-artemis.tar.gz
 WORKDIR ${JMS_BROKER_ROOT}
 ENV JAVA_HOME /etc/alternatives/jre