fix: libaio on noble is incompatible for oracle client

see https://bugs.launchpad.net/ubuntu/+source/libaio/+bug/2067501
This commit is contained in:
t0b3 2024-12-13 08:55:01 +01:00 committed by Nyall Dawson
parent 59a76430dc
commit 5737c9808c
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,3 @@
version: '3'
services:
oracle:

View File

@ -130,6 +130,8 @@ RUN unzip -n instantclient-sqlplus-linux.x64-21.16.0.0.0dbru.zip
ENV PATH="/instantclient_21_16:${PATH}"
ENV LD_LIBRARY_PATH="/instantclient_21_16:${LD_LIBRARY_PATH}"
# workaround noble libaio SONAME issue -- see https://bugs.launchpad.net/ubuntu/+source/libaio/+bug/2067501
RUN if [ -e /usr/lib/x86_64-linux-gnu/libaio.so.1t64 ] ; then ln -sf /usr/lib/x86_64-linux-gnu/libaio.so.1t64 /usr/lib/x86_64-linux-gnu/libaio.so.1 ; fi
# Avoid sqlcmd termination due to locale -- see https://github.com/Microsoft/mssql-docker/issues/163
RUN echo "nb_NO.UTF-8 UTF-8" > /etc/locale.gen