Skip to content

Commit a350390

Browse files
rwestjonwzheng
authored andcommitted
Simplify sed command in Dockerfile
1 parent 7c67c2d commit a350390

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@ RUN rm -rf examples/rmg/rms_constant_V/* && \
8989
git checkout -- examples/rmg/rms_constant_V/
9090

9191
# when running this image, open an interactive bash terminal inside the rmg_env conda environment
92-
RUN sed -i '/\. \/opt\/conda\/etc\/profile.d\/conda.sh && conda activate base/c\. /opt/conda/etc/profile.d/conda.sh && conda activate rmg_env' ~/.bashrc
92+
RUN sed -i 's/conda activate base/conda activate rmg_env/' ~/.bashrc
9393
ENTRYPOINT ["/bin/bash", "--login"]
9494

0 commit comments

Comments
 (0)