From ab89711e65e339aeb72b72c29cb45bcb5df48e53 Mon Sep 17 00:00:00 2001 From: achraf-mer <51244975+achraf-mer@users.noreply.github.com> Date: Tue, 9 Apr 2024 13:39:55 -0400 Subject: [PATCH] Update docker_build_script_ubuntu.sh --- docker_build_script_ubuntu.sh | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/docker_build_script_ubuntu.sh b/docker_build_script_ubuntu.sh index 088633a35..2a7745f82 100755 --- a/docker_build_script_ubuntu.sh +++ b/docker_build_script_ubuntu.sh @@ -127,9 +127,13 @@ rm -rf /workspace/helm rm -rf /workspace/notebooks rm -rf /workspace/papers - - - - - - +# Hotswap vulnerable dependencies +wget https://s3.amazonaws.com/artifacts.h2o.ai/deps/h2ogpt/ubuntu20.04/apparmor_4.0.0~alpha2-0ubuntu5_amd64.deb +wget https://s3.amazonaws.com/artifacts.h2o.ai/deps/h2ogpt/ubuntu20.04/libapparmor1_4.0.0~alpha2-0ubuntu5_amd64.deb +dpkg -i libapparmor1_4.0.0~alpha2-0ubuntu5_amd64.deb +dpkg -i apparmor_4.0.0~alpha2-0ubuntu5_amd64.deb +rm -rf libapparmor1_4*.deb apparmor_4*.deb + +wget https://s3.amazonaws.com/artifacts.h2o.ai/deps/h2ogpt/ubuntu20.04/libarchive13_3.6.2-1ubuntu1_amd64.deb +dpkg -i libarchive13_3.6.2-1ubuntu1_amd64.deb +rm -rf libarchive13_3.6.2-1ubuntu1_amd64.deb