Skip to content

Commit

Permalink
build: set up opticks for all container users (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
plexoos authored Mar 22, 2024
1 parent f57f9c7 commit 3ed4d83
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
COPY <<-"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 3ed4d83

Please sign in to comment.