Skip to content
Snippets Groups Projects
Commit eda1267e authored by Tim Kluge's avatar Tim Kluge
Browse files

Fix workspace location in container, terminal shortcut

parent be124ddd
Branches
No related tags found
No related merge requests found
...@@ -5,11 +5,11 @@ RUN apt-get install -y \ ...@@ -5,11 +5,11 @@ RUN apt-get install -y \
ros-melodic-libfranka python-catkin-tools libeigen3-dev ros-melodic-libfranka python-catkin-tools libeigen3-dev
#WORKDIR /src/ #WORKDIR /src/
COPY ./vnc/simple_simulation.sh /root/Desktop/ COPY ./vnc/simple_simulation.sh /root/Desktop/
RUN chmod a+x /root/Desktop/simple_simulation.sh RUN ln -s /usr/share/applications/lxterminal.desktop /root/Desktop/lxterminal.desktop
RUN chmod a+x /root/Desktop/simple_simulation.sh && mkdir /root/Desktop/ros_ws
ENV ROS_DISTRO=melodic ENV ROS_DISTRO=melodic
WORKDIR /home/ubuntu/ros_ws WORKDIR /root/Desktop/ros_ws
RUN rm build devel src -rf COPY ./src /root/Desktop/ros_ws/src
COPY ./src /home/ubuntu/ros_ws/src
RUN apt-get update && rosdep install --from-paths . -r -y && apt-get clean RUN apt-get update && rosdep install --from-paths . -r -y && apt-get clean
RUN catkin config \ RUN catkin config \
--extend /opt/ros/melodic && \ --extend /opt/ros/melodic && \
......
#!/bin/bash #!/bin/bash
source ~/ros_ws/devel/setup.bash source /root/Desktop/ros_ws/devel/setup.bash
roslaunch sample_applications simple_simulation.launch lxterminal --command "roslaunch sample_applications simple_simulation.launch"
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment