Skip to content

Commit c0de7f9

Browse files
committed
added shell path for conda
1 parent e497e04 commit c0de7f9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ROS2/AMD64x86/wheelchair2_base_gazebo/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ RUN mkdir -p ~/miniconda3 && \
123123
conda init --all && \
124124
conda config --set auto_activate_base false
125125

126-
RUN sudo mkdir -p /home/$USERNAME/conda_envs
127-
COPY detection.yml /home/$USERNAME/conda_envs/detection.yml
128-
WORKDIR /home/$USERNAME/conda_envs
126+
RUN sudo mkdir -p /home/container_user/conda_envs
127+
COPY detection.yml /home/container_user/conda_envs/detection.yml
128+
WORKDIR /home/container_user/conda_envs
129+
ENV PATH /home/container_user/miniconda3/bin:$PATH
129130
RUN conda env create -f detection.yml
131+

0 commit comments

Comments
 (0)