Skip to content

Commit 461b350

Browse files
committed
update dockerfile
1 parent e78d5cb commit 461b350

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ SHELL ["conda", "run", "-n", "dhenv", "/bin/bash", "-c"]
2020

2121
# Install OpenMPI
2222
RUN conda install openmpi mpi4py -y
23-
RUN export OMPI_ALLOW_RUN_AS_ROOT=1
24-
RUN export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
23+
RUN echo "export OMPI_ALLOW_RUN_AS_ROOT=1" >> ~/.bashrc
24+
RUN echo "export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1" >> ~/.bashrc
2525

2626
# Clone & Install DeepHyper/Scikit-Optimize (develop)
2727
RUN git clone https://github.com/deephyper/scikit-optimize.git deephyper-scikit-optimize

0 commit comments

Comments
 (0)