Skip to content

Commit

Permalink
build: exclude OptiX from image (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
plexoos authored Mar 20, 2024
1 parent bbf4240 commit d447e45
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@ RUN rm -fr /spack/share/spack/modules/$(spack arch)

RUN apt update && apt install -y libssl-dev python-is-python3

COPY NVIDIA-OptiX-SDK-7.6.0-linux64-x86_64.sh ./

RUN chmod u+x ./NVIDIA-OptiX-SDK-7.6.0-linux64-x86_64.sh
# create a placeholder dir for NVIDIA OptiX
RUN mkdir -p /usr/local/optix
RUN ./NVIDIA-OptiX-SDK-7.6.0-linux64-x86_64.sh --skip-license --prefix=/usr/local/optix

ENV HOME=/esi
ENV OPTICKS_HOME=$HOME/opticks
Expand All @@ -62,8 +59,6 @@ RUN echo "opticks-" >> ~/.bash_profile

RUN patch -p1 CSGOptiX/OPT.h $HOME/patches/0001-fix-add-missing-support-for-OptiX-7.6.patch

RUN rm -fr /usr/local/optix/*

RUN opticks-full-externals
RUN <<EOF
source om.bash
Expand Down

0 comments on commit d447e45

Please sign in to comment.