This is an automated email from the ASF dual-hosted git repository.
clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new a70b053dbd ARTEMIS-5055 AIO not detected in official Ubuntu Docker
image
a70b053dbd is described below
commit a70b053dbdd098dc5498aeb34191e65383d93be5
Author: Justin Bertram <[email protected]>
AuthorDate: Thu Sep 19 14:31:06 2024 -0500
ARTEMIS-5055 AIO not detected in official Ubuntu Docker image
---
artemis-docker/Dockerfile-ubuntu-21 | 9 ++++++---
artemis-docker/Dockerfile-ubuntu-21-jre | 9 ++++++---
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/artemis-docker/Dockerfile-ubuntu-21
b/artemis-docker/Dockerfile-ubuntu-21
index f8d600d8d4..004a816bc6 100644
--- a/artemis-docker/Dockerfile-ubuntu-21
+++ b/artemis-docker/Dockerfile-ubuntu-21
@@ -29,10 +29,13 @@ ENV ANONYMOUS_LOGIN false
ENV EXTRA_ARGS --http-host 0.0.0.0 --relax-jolokia
# add user and group for artemis
-RUN groupadd -g 1001 -r artemis && useradd -r -u 1001 -g artemis artemis \
- && apt-get -qq -o=Dpkg::Use-Pty=0 update && \
+RUN groupadd -g 1001 -r artemis && useradd -r -u 1001 -g artemis artemis
+
+# install AIO
+RUN apt-get -qq -o=Dpkg::Use-Pty=0 update && \
apt-get -qq -o=Dpkg::Use-Pty=0 install -y libaio1t64 && \
- rm -rf /var/lib/apt/lists/*
+ rm -rf /var/lib/apt/lists/* && \
+ ln -s /lib/x86_64-linux-gnu/libaio.so.1t64
/lib/x86_64-linux-gnu/libaio.so.1
USER artemis
diff --git a/artemis-docker/Dockerfile-ubuntu-21-jre
b/artemis-docker/Dockerfile-ubuntu-21-jre
index 6a5b011476..7e81fac587 100644
--- a/artemis-docker/Dockerfile-ubuntu-21-jre
+++ b/artemis-docker/Dockerfile-ubuntu-21-jre
@@ -29,10 +29,13 @@ ENV ANONYMOUS_LOGIN false
ENV EXTRA_ARGS --http-host 0.0.0.0 --relax-jolokia
# add user and group for artemis
-RUN groupadd -g 1001 -r artemis && useradd -r -u 1001 -g artemis artemis \
- && apt-get -qq -o=Dpkg::Use-Pty=0 update && \
+RUN groupadd -g 1001 -r artemis && useradd -r -u 1001 -g artemis artemis
+
+# install AIO
+RUN apt-get -qq -o=Dpkg::Use-Pty=0 update && \
apt-get -qq -o=Dpkg::Use-Pty=0 install -y libaio1t64 && \
- rm -rf /var/lib/apt/lists/*
+ rm -rf /var/lib/apt/lists/* && \
+ ln -s /lib/x86_64-linux-gnu/libaio.so.1t64
/lib/x86_64-linux-gnu/libaio.so.1
USER artemis
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact