Skip to content

Commit d703db0

Browse files
committed
Update Dockerfile
1 parent 511bbaa commit d703db0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,8 @@ RUN ldconfig
6666
WORKDIR /tmp/
6767

6868
# set to non-root user and initialize mamba
69-
RUN /root/.local/share/mamba/envs/science/bin/mamba init
70-
RUN echo "mamba activate science" >> /home/rapidtide/.bashrc
71-
RUN echo "/root/.local/share/mamba/envs/science/bin/mamba activate science" >> /home/picachooser/.bashrc
69+
RUN /root/.local/share/mamba/envs/science/bin/mamba shell
70+
RUN echo "mamba activate science" >> /home/picachooser/.bashrc
7271

7372
# switch to the picachooser user
7473
USER picachooser

0 commit comments

Comments
 (0)