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