ARTEMIS-5055 AIO not detected in official Ubuntu Docker image

This commit is contained in:
Justin Bertram 2024-09-19 14:31:06 -05:00 committed by clebertsuconic
parent 4a80671dc6
commit a70b053dbd
2 changed files with 12 additions and 6 deletions

View File

@ -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

View File

@ -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