From 6891e481a0244a142a4da90da03f70f28a9e66e3 Mon Sep 17 00:00:00 2001 From: Dmitri Smirnov Date: Fri, 22 Mar 2024 00:03:40 -0400 Subject: [PATCH] build: setup opticks for all container users --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 438d4d1..024aae6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -59,8 +59,10 @@ COPY .opticks $ESI_DIR/.opticks WORKDIR $OPTICKS_HOME RUN mkdir -p $ESI_DIR -RUN echo "source $OPTICKS_HOME/opticks.bash" >> ~/.bash_profile -RUN echo "opticks-" >> ~/.bash_profile +RUN <<-"EOF" /etc/profile.d/z20_opticks.sh + source $OPTICKS_HOME/opticks.bash + opticks- +EOF RUN patch -p1 CSGOptiX/OPT.h $ESI_DIR/patches/0001-fix-add-missing-support-for-OptiX-7.6.patch