Skip to content
Snippets Groups Projects
Commit 622b3e63 authored by none's avatar none
Browse files

copy from local directory, instead of git clone

parent 7e0894f4
No related branches found
No related tags found
No related merge requests found
...@@ -6,8 +6,8 @@ RUN apt update; apt install -y vim tmux git sudo stow ...@@ -6,8 +6,8 @@ RUN apt update; apt install -y vim tmux git sudo stow
# add nonroot user 'user' with sudo abilities and nice configurations # add nonroot user 'user' with sudo abilities and nice configurations
RUN adduser user --home /home/user RUN adduser user --home /home/user
RUN echo 'root:DOCKER'|chpasswd RUN echo 'root:root'|chpasswd
RUN echo 'user:docker'|chpasswd RUN echo 'user:user'|chpasswd
RUN echo "user ALL=(ALL:ALL) ALL" >> /etc/sudoers RUN echo "user ALL=(ALL:ALL) ALL" >> /etc/sudoers
#RUN echo "source /opt/ros/melodic/setup.bash" >> /home/user/.bashrc #RUN echo "source /opt/ros/melodic/setup.bash" >> /home/user/.bashrc
# covenience, this entire block can be removed without affecting the functionality # covenience, this entire block can be removed without affecting the functionality
...@@ -22,7 +22,8 @@ RUN echo 'PS1="\u:\wΣ "' >> /home/user/.bashrc ...@@ -22,7 +22,8 @@ RUN echo 'PS1="\u:\wΣ "' >> /home/user/.bashrc
# setup workspace # setup workspace
RUN mkdir -p /home/user/catkin_ws/src RUN mkdir -p /home/user/catkin_ws/src
WORKDIR /home/user/catkin_ws/src WORKDIR /home/user/catkin_ws/src
RUN git clone https://github.com/tecnalia-medical-robotics/manipulability_metrics COPY manipulability_metrics /home/user/catkin_ws/src
#RUN git clone https://github.com/tecnalia-medical-robotics/manipulability_metrics
# entry script # entry script
COPY scripts/* /home/user/catkin_ws/scripts/ COPY scripts/* /home/user/catkin_ws/scripts/
......
Subproject commit 0e1360376a49fdc623e761fc8ca769e99fa11ac9 Subproject commit cb45bc21aadbf41eac0fbad18889fd9524401a7c
# remove namespace to avoid problem
vim -E /home/user/catkin_ws/src/manipulability_metrics/manipulability_metrics_examples/urdf/panda.urdf.xacro << EOF
normal GkWWdE
w
q
EOF
# install dependencies # install dependencies
rosdep update rosdep update
rosdep install --from-paths src --ignore-src -r -y rosdep install --from-paths src --ignore-src -r -y
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment