From ff2e40605566d80f5c46917f1266cc0106168ba3 Mon Sep 17 00:00:00 2001 From: Alessandro Muntoni Date: Tue, 16 Jul 2024 09:32:49 +0200 Subject: [PATCH] preinstalling embree and boost in docker image --- .devcontainer/Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 87831484b..69602ac4b 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -6,6 +6,7 @@ RUN apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install \ fuse \ git \ kmod \ + libboost-dev \ libdbus-1-3 \ libegl-dev \ libfuse2 \ @@ -40,11 +41,14 @@ ENV QT_PLUGIN_PATH=/opt/qt/${QT}/gcc_64/plugins/ ENV QML_IMPORT_PATH=/opt/qt/${QT}/gcc_64/qml/ ENV QML2_IMPORT_PATH=/opt/qt/${QT}/gcc_64/qml/ -# install latest cmake +# install latest cmake and embree RUN apt purge --auto-remove cmake && \ apt-get -y install wget && \ wget -qO- "https://cmake.org/files/v3.19/cmake-3.19.2-Linux-x86_64.tar.gz" \ - | tar --strip-components=1 -xz -C /usr/local && \ + | tar --strip-components=1 -xz -C /usr/local &&\ + wget -qO- "https://github.com/embree/embree/releases/download/v4.3.2/embree-4.3.2.x86_64.linux.tar.gz" \ + | tar -xz -C /usr/local && \ + bash /usr/local/embree-vars.sh && \ apt-get -y remove wget && \ apt-get -y autoremove && \ apt-get -y clean && \