From 2b3693e957c6e3578ed1ade75574b260638dea4c Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 15 Jan 2024 00:04:24 +0930 Subject: [PATCH] fix(docker_cache): migrated ldconfig fixes from ee container file required to fix ldconfig missing errors !184 --- dockerfile-build_cache | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dockerfile-build_cache b/dockerfile-build_cache index 09c12fa..a453780 100644 --- a/dockerfile-build_cache +++ b/dockerfile-build_cache @@ -12,6 +12,18 @@ RUN export DEBIAN_FRONTEND=noninteractive \ && dpkg-reconfigure debconf -f noninteractive RUN apt update \ + # SoF fixing dpkg ldconfig not found error + && cd /tmp \ + && apt-get download \ + libc-bin \ + && dpkg --extract ./libc-bin_*.deb /tmp/deb \ + && cp /tmp/deb/sbin/ldconfig /sbin/ \ + && rm -Rf /tmp/deb \ + && rm libc-bin_*.deb \ + && apt-get install --reinstall \ + libc-bin \ + # EoF fixing dpkg ldconfig not found error + # Set Locale to en_US as ansible requires a locale for it to function without chucking a tantrum!! && apt install --reinstall -yq \ git \ curl \