Skip to content

Commit 8b612e5

Browse files
committed
added line to automatically activate gpu-flopbench env
1 parent f87204c commit 8b612e5

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,8 @@ RUN find . -type f \
6767
-not -name "*.tar.*" \
6868
-exec sed -i 's/\r$//' {} +
6969

70+
# write out to the bashrc to source conda and activate the environment on container startup
71+
RUN echo 'conda activate gpu-flopbench' >> ~/.bashrc
72+
7073
# one of the issues with a windows host is that the execute permissions are not preserved when copying files into the container
7174
# this is okay, and it seems like everything works fine without needing to change it.

0 commit comments

Comments
 (0)