File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ RUN apt-get update && apt-get install -y \
5858
5959RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.10 10
6060
61- RUN echo " ENV=$HOME/.shrc; export ENV" >> ~/.profile
61+ ENV ENV=\ $ HOME/.shrc
6262RUN echo "exec bash" >> ~/.shrc
6363RUN echo "source /opt/ros/$ROS_DISTRO/setup.bash\n source /code/install/local_setup.bash" >> ~/.bashrc
6464
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ ENTRYPOINT [ \
8686USER $USERNAME
8787
8888# Make /bin/sh launch bash instead.
89- RUN echo " ENV=$HOME/.shrc; export ENV" >> ~/.profile
89+ ENV ENV=\ $HOME/.shrc
9090RUN echo "exec bash" >> ~/.shrc
9191# Auto-activate ROS whenever bash shell is opened.
9292RUN echo "source /opt/ros/$ROS_DISTRO/setup.bash\nsource /code/install/local_setup.bash" >> ~/.bashrc
You can’t perform that action at this time.
0 commit comments