Skip to content

Commit

Permalink
cuquantum rebuild singularity sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Shusen Liu authored and Shusen Liu committed Nov 12, 2024
1 parent 60b15a1 commit dfea5bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -290,5 +290,9 @@ COPY *.env /opt/docker-recipes
COPY *.sh /opt/docker-recipes
COPY *.whl /opt/docker-recipes

%
RUN mkdir -p /.singularity.d/env/ && \
cp -p /opt/cuquantum-source/cuquantum-env/bin/activate /.singularity.d/env/91-environment.sh

# Set entrypoint to activate the environment on container start
ENTRYPOINT ["/opt/cuquantum-source/cuquantum-env/activate_cuquantum.sh"]
Original file line number Diff line number Diff line change
Expand Up @@ -273,5 +273,8 @@ COPY *.env /opt/docker-recipes
COPY *.sh /opt/docker-recipes
COPY *.whl /opt/docker-recipes

RUN mkdir -p /.singularity.d/env/ && \
cp -p /opt/cuquantum-source/cuquantum-env/bin/activate /.singularity.d/env/91-environment.sh

# Set entrypoint to activate the environment on container start
ENTRYPOINT ["/opt/cuquantum-source/cuquantum-env/bin/activate"]

0 comments on commit dfea5bb

Please sign in to comment.