Commit Graph

31 Commits

Author SHA1 Message Date
Justin Bertram a70b053dbd ARTEMIS-5055 AIO not detected in official Ubuntu Docker image 2024-09-23 10:50:15 -04:00
Justin Bertram 8a56d2ea33 ARTEMIS-4906 CentOS 7 is EOL so remove Docker file 2024-08-28 16:05:48 +01:00
Justin Bertram 86f36e95b0 ARTEMIS-4960 Ubuntu package name change preventing Docker image build 2024-07-29 16:28:45 -05:00
Jeroen van Gorkum b1c28d7bd4 ARTEMIS-4816: Docker image echo's admin credentials during startup
Signed-off-by: Jeroen van Gorkum
2024-06-13 11:40:08 -04:00
Justin Bertram e3c6531bfd ARTEMIS-4556 support release of multi-platform Docker images 2024-01-11 17:50:02 +00:00
Justin Bertram 8b2255d78d ARTEMIS-4554 upgrade to latest Java for Docker images 2024-01-10 16:06:43 +00:00
Justin Bertram cd1e9822f5 NO-JIRA few small usability fixes 2023-09-26 15:54:13 -05:00
Justin Bertram f565e1318e ARTEMIS-4441 add Docker chapter to User Manual 2023-09-26 15:54:13 -05:00
Muammer Eroglu fd5b64f035 ARTEMIS-4408 Update docker-run.sh for etc override
ARTEMIS-4408 Update docker-run.sh for etc override

After creating the artemis docker image using the docker-run.sh script,
it is not possible to map a user supplied broker.xml using a volume
mapping. The broker.xml file is not there before instance creation,
so we cannot a static file mapping.

This change introduces an etc-override folder to write over the etc
folder contents. If a folder named etc-override exists inside the
instance folder, its contents will be copied over to etc folder after
instance creation. In order to use custom files that reside in etc,
eg. broker.xml or artemis.profile; it is sufficient to place these
files to a folder and map it to /var/lib/artemis-instance/etc-override
folder of the image.

The usage is also documented in readme.md file under the docker folder.
2023-09-01 11:07:03 -05:00
Vilius Šumskas 6796e548be NO-JIRA Remove dependency on tree utility 2023-08-29 14:55:51 -05:00
mikewilliams 480bde1855
ARTEMIS-4404 minor Docker doc update
This is a clarification of the steps required to create a docker image
from ActiveMQ source using the local-distribution method and a couple
of formatting recommendations.
2023-08-29 14:18:11 -05:00
Justin Bertram 1efb7e87d8 ARTEMIS-4376 add Dockerfile for Alpine + JRE 11
The goal for this file is to be used in conjunction with the existing
Dockerfile-ubuntu-11-jre when pushing images to
https://hub.docker.com/r/apache/activemq-artemis.

I also updated the documentation.
2023-07-28 06:32:01 -04:00
Thorsten Hirsch 95c8821044 ARTEMIS-4310 Add Alpine/Java17 based Docker image
This new Dockerfile uses Alpine Linux as base image, so the resulting image is smaller. Also, it makes use of Java 17.
2023-07-15 12:04:06 -05:00
Justin Bertram 33abbbc4b8
NO-JIRA small Docker clean-ups/fixes 2022-09-19 09:58:09 -05:00
Vilius Šumskas 7e29067e8e ARTEMIS-3983 Update all base images to use Eclipse-Temurin 2022-09-18 21:54:38 +03:00
Vilius Šumskas 666a8ba79f ARTEMIS-3983 Change docker base image version from JDK to JRE
JRE is enough to run most Java software, including ActiveMQ Artemis.
2022-09-18 21:45:13 +03:00
Justin Bertram f5247906a6
NO-JIRA few script improvements
- Standardize if/then syntax
 - Only check URL status if download is actually necessary
 - Simplify & clarify temp directory prep
 - Improve instructions/feedback
2022-09-17 11:28:05 -05:00
Justin Bertram c9f01cec3c
ARTEMIS-3981 improve logic
Don't check the CDN URL twice in the case where it's good.
2022-09-15 10:27:42 -05:00
Justin Bertram dddbd9653a
ARTEMIS-3981 fix syntax 2022-09-15 10:15:23 -05:00
Justin Bertram 015acab8db
ARTEMIS-3981 bad docker image if release pull is 404 2022-09-14 15:27:15 -05:00
Justin Bertram 98d176ae83
ARTEMIS-3748 support older versions in prepare-docker.sh 2022-09-14 14:07:14 -05:00
Kent Bair 8a95f1a4cd
NO-JIRA update JDK image in Docker file
Eclipse is now maintaining the Adopt OpenJDK project. Due to that change
the base adoptopenjdk image used in the Dockerfile is no longer
supported. This commit is just changing the base image to match the
recommended replacement in the deprecation notice (i.e.
https://hub.docker.com/_/adoptopenjdk).
2022-05-23 14:21:45 -05:00
Tiago Bueno dbd60d0afb ARTEMIS-3749 e2e-tests improvements
Scripts:
- Fix the preapre-docker.sh to exit with 0 instead of 1 on success

On pom files:
- Change e2e-tests variable names to e2e-tests.xxxxxx for clarity on
  e2e-tests variables
- Add e2e-tests.skipImageBuild variable to control if the docker image
  will be build (defaults to not build)
- Add e2e-tests.dockerfile variable to specify the dockerfile to be
  used (defaults to Dockerfile-centos)
- Bump testcontainers version to 1.16.3
- Add artemis distribution dependency since the docker image build
  depends on it

On ContainerService class:
- Fix exposePorts and exporseFolder to use SELinux shared mode
  otherwise the mount fails on machines with SELinux enabled
- Move the logic to use specific user on container from generic start
  method to broker specific method to avoid affect other images
- Update the broker image name to a more generic name (activemq-artemis
  instead of artemis-centos)
- Update the broker image tag to match with the project version in pom
  file
2022-03-30 11:48:05 -04:00
pringinacio 223698448e
ARTEMIS-3714 change Docker group and user IDs to 1001
Changed group and user ids to 1001 to allow Artemis user to be the own
of /var/lib/artemis-instance and /opt/activemq-artemis. Otherwise the
owner will be root (1000).

This was already done in Dockerfile-centos file.
2022-03-09 13:46:13 -06:00
Clebert Suconic 08a0d01989 ARTEMIS-3420 Update Docker JVM to 11 2021-12-14 08:59:55 -05:00
Antonio Musarra 17ad9c701f ARTEMIS-3107 - Extension of the artemis-docker module
Adding Adoptopenjdk-11 as a build option on docker
2021-02-08 11:16:23 -05:00
zekeoptimo 44e15b0e1f ARTEMIS-2776 Improve Dockerfiles
Fixes the Dockerfiles handling of ANONYMOUS_LOGIN and adds an
EXTRA_ARGS environment variable to allow specifying extra arguments
separate from the username, password and anonymous login options.
2020-05-26 20:32:33 -04:00
zekeoptimo 31a401223b ARTEMIS-2773 Dockerfile Improvements
Rename Dockerfile-ubuntu to Dockerfile-debian
fix libaio1 dependency issue
updated scripts and readme
2020-05-21 15:26:49 -04:00
Paul Vogel 0879af8d1c Typo fix for docker readme 2020-02-25 12:08:00 -06:00
Francesco Nigro c77e64a574 ARTEMIS-2245 Cleaning up Docker images preparation, run and docs 2019-02-21 19:59:25 -05:00
Clebert Suconic 02505fc004 ARTEMIS-2245 Moving docker files under artemis-docker and other improvements 2019-02-05 13:57:10 -05:00