-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #366 from favreau/master
Version 1.8.0
- Loading branch information
Showing
1,187 changed files
with
36,808 additions
and
34,135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
FROM debian:buster-20230522-slim as builder | ||
LABEL maintainer="[email protected]" | ||
ARG DIST_PATH=/app/dist | ||
ARG BUILD_TYPE=Release | ||
|
||
# Install packages | ||
RUN apt-get update \ | ||
|
@@ -50,14 +51,14 @@ RUN apt-get update \ | |
libglm-dev \ | ||
libtiff-dev \ | ||
libmpfr-dev \ | ||
libdcmtk-dev \ | ||
pkg-config \ | ||
wget \ | ||
ca-certificates \ | ||
exiv2 \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
|
||
# -------------------------------------------------------------------------------- | ||
# Get CMake 3.21.1 | ||
# -------------------------------------------------------------------------------- | ||
|
@@ -69,7 +70,7 @@ RUN wget -O cmake-linux.sh https://cmake.org/files/v3.21/cmake-3.21.1-linux-x86_ | |
# Install Brion | ||
# https://github.com/BlueBrain/Brion | ||
# -------------------------------------------------------------------------------- | ||
# ARG BRION_TAG=3.3.9 | ||
# ARG BRION_TAG=3.3.14 | ||
# ARG BRION_SRC=/app/brion | ||
|
||
# RUN mkdir -p ${BRION_SRC} \ | ||
|
@@ -81,6 +82,7 @@ RUN wget -O cmake-linux.sh https://cmake.org/files/v3.21/cmake-3.21.1-linux-x86_ | |
# && cd build \ | ||
# && CMAKE_PREFIX_PATH=${DIST_PATH} cmake .. -GNinja \ | ||
# -DCMAKE_INSTALL_PREFIX=${DIST_PATH} \ | ||
# -DBRION_SKIP_LIBSONATA_SUBMODULE=ON \ | ||
# && ninja install \ | ||
# && ninja clean | ||
|
||
|
@@ -104,12 +106,24 @@ ENV PATH $PATH:${ISPC_PATH}/bin | |
# Install embree | ||
# https://github.com/embree/embree/releases | ||
# -------------------------------------------------------------------------------- | ||
ARG EMBREE_VERSION=3.5.2 | ||
ARG EMBREE_FILE=embree-${EMBREE_VERSION}.x86_64.linux.tar.gz | ||
RUN mkdir -p ${DIST_PATH} \ | ||
&& wget --no-verbose https://github.com/embree/embree/releases/download/v${EMBREE_VERSION}/${EMBREE_FILE} \ | ||
&& tar zxvf ${EMBREE_FILE} -C ${DIST_PATH} --strip-components=1 \ | ||
&& rm -rf ${DIST_PATH}/bin ${DIST_PATH}/doc | ||
ARG EMBREE_TAG=v3.8.0 | ||
ARG EMBREE_SRC=/app/embree | ||
|
||
RUN mkdir -p ${EMBREE_SRC} \ | ||
&& git clone https://github.com/embree/embree.git ${EMBREE_SRC} \ | ||
&& cd ${EMBREE_SRC} \ | ||
&& git checkout ${EMBREE_TAG} \ | ||
&& mkdir -p build \ | ||
&& cd build \ | ||
&& CMAKE_PREFIX_PATH=${DIST_PATH} cmake .. -GNinja \ | ||
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \ | ||
-DEMBREE_ISPC_EXECUTABLE=${ISPC_PATH}/bin/ispc \ | ||
-DEMBREE_TUTORIALS=OFF \ | ||
-DEMBREE_IGNORE_INVALID_RAYS=ON \ | ||
-DEMBREE_ISA_AVX512SKX=ON \ | ||
-DCMAKE_INSTALL_PREFIX=${DIST_PATH} \ | ||
&& ninja install \ | ||
&& ninja clean | ||
|
||
# -------------------------------------------------------------------------------- | ||
# Install OSPRay | ||
|
@@ -125,9 +139,15 @@ RUN mkdir -p ${OSPRAY_SRC} \ | |
&& mkdir -p build \ | ||
&& cd build \ | ||
&& CMAKE_PREFIX_PATH=${DIST_PATH} cmake .. -GNinja \ | ||
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \ | ||
-DOSPRAY_ENABLE_TUTORIALS=OFF \ | ||
-DOSPRAY_ENABLE_APPS=OFF \ | ||
-DCMAKE_INSTALL_PREFIX=${DIST_PATH} \ | ||
-DOSPRAY_APPS_BENCHMARK=OFF \ | ||
-DOSPRAY_APPS_EXAMPLEVIEWER=OFF \ | ||
-DOSPRAY_APPS_UTILITIES=OFF \ | ||
-DOSPRAY_AUTO_DOWNLOAD_TEST_IMAGES=OFF \ | ||
-DOSPRAY_ENABLE_TUTORIALS=OFF \ | ||
&& ninja install \ | ||
&& ninja clean | ||
|
||
|
@@ -146,7 +166,7 @@ RUN mkdir -p ${LWS_SRC} \ | |
&& mkdir -p build \ | ||
&& cd build \ | ||
&& cmake .. -GNinja \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \ | ||
-DLWS_STATIC_PIC=ON \ | ||
-DLWS_WITH_SSL=ON \ | ||
-DLWS_WITH_ZLIB=OFF \ | ||
|
@@ -173,21 +193,20 @@ RUN mkdir -p ${ROCKETS_SRC} \ | |
&& mkdir -p build \ | ||
&& cd build \ | ||
&& CMAKE_PREFIX_PATH=${DIST_PATH} cmake .. -GNinja \ | ||
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \ | ||
-DCMAKE_INSTALL_PREFIX=${DIST_PATH} \ | ||
&& ninja install \ | ||
&& ninja clean | ||
|
||
# -------------------------------------------------------------------------------- | ||
# Install BioExplorer | ||
# https://github.com/BlueBrain/BioExplorer | ||
# -------------------------------------------------------------------------------- | ||
ARG BIOEXPLORER_SRC=/app | ||
ADD . ${BIOEXPLORER_SRC} | ||
|
||
WORKDIR /app | ||
|
||
RUN cd ${BIOEXPLORER_SRC} \ | ||
&& git clone --recursive https://github.com/BlueBrain/BioExplorer.git \ | ||
&& rm -rf build \ | ||
&& mkdir build \ | ||
&& cd build \ | ||
|
@@ -197,9 +216,10 @@ RUN cd ${BIOEXPLORER_SRC} \ | |
CMAKE_PREFIX_PATH=${DIST_PATH} \ | ||
LDFLAGS="-lCGAL" \ | ||
cmake .. -GNinja \ | ||
-DCMAKE_BUILD_TYPE=${BUILD_TYPE} \ | ||
-DCMAKE_INSTALL_PREFIX=${DIST_PATH} \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCGAL_DO_NOT_WARN_ABOUT_CMAKE_BUILD_TYPE=ON \ | ||
-DPLATFORM_UNIT_TESTING_ENABLED=OFF \ | ||
-DPLATFORM_USE_CGAL=ON \ | ||
-DPLATFORM_OPTIX6_ENABLED=OFF \ | ||
-DPLATFORM_NETWORKING_ENABLED=ON \ | ||
|
@@ -212,6 +232,7 @@ RUN cd ${BIOEXPLORER_SRC} \ | |
-DBIOEXPLORER_SONATA_ENABLED=OFF \ | ||
-DBIOEXPLORER_METABOLISM_ENABLED=OFF \ | ||
-DBIOEXPLORER_MEDIAMAKER_ENABLED=ON \ | ||
-DMEDICALIMAGING_BUILD_ENABLED=ON \ | ||
&& ninja install \ | ||
&& ninja clean | ||
|
||
|
@@ -238,6 +259,8 @@ RUN apt-get update \ | |
libpqxx-6.2 \ | ||
libtiff5 \ | ||
libmpfr6 \ | ||
libtbb-dev \ | ||
dcmtk \ | ||
exiv2 \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
@@ -266,4 +289,4 @@ EXPOSE 8200 | |
# See https://docs.docker.com/engine/reference/run/#entrypoint-default-command-to-execute-at-runtime | ||
# for more docs | ||
ENTRYPOINT ["service"] | ||
CMD ["--http-server", ":8200", "--plugin", "MediaMaker", "--plugin", "BioExplorer"] | ||
CMD ["--http-server", ":8200", "--plugin", "MediaMaker", "--plugin", "DICOM", "--plugin", "BioExplorer"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.