Skip to content

Commit

Permalink
build: setup opticks for all container users
Browse files Browse the repository at this point in the history
  • Loading branch information
plexoos committed Mar 22, 2024
1 parent f57f9c7 commit 6891e48
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6891e48

Please sign in to comment.