Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
help_ros
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Leander Boelke
help_ros
Commits
74a1b630
Commit
74a1b630
authored
2 years ago
by
David Leander Boelke
Browse files
Options
Downloads
Patches
Plain Diff
init
parents
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+34
-0
34 additions, 0 deletions
Dockerfile
Makefile
+7
-0
7 additions, 0 deletions
Makefile
entry.sh
+3
-0
3 additions, 0 deletions
entry.sh
with
44 additions
and
0 deletions
Dockerfile
0 → 100644
+
34
−
0
View file @
74a1b630
# start form ROS-melodic
FROM
osrf/ros:melodic-desktop-full
# install important programs
RUN
apt update
;
apt
install
-y
vim tmux git
sudo
stow
# add nonroot user 'user' with sudo abilities and nice configurations
RUN
adduser user
--home
/home/user
RUN
echo
'root:DOCKER'
|chpasswd
RUN
echo
'user:docker'
|chpasswd
RUN
echo
"user ALL=(ALL:ALL) ALL"
>>
/etc/sudoers
RUN
echo
"source /opt/ros/melodic/setup.bash"
>>
/home/user/.bashrc
# covenience, this entire block can be removed without affecting the functionality
USER
user
WORKDIR
/home/user
RUN
git clone https://www.github.com/bananabook/dotfiles.git
-b
mini
WORKDIR
/home/user/dotfiles
RUN
stow vim tmux git
RUN
echo
"source ~/dotfiles/bash/.bashrc"
>>
/home/user/.bashrc
RUN
echo
'PS1="\u:\wΣ "'
>>
/home/user/.bashrc
# setup workspace
RUN
mkdir
-p
/home/user/catkin_ws/src
WORKDIR
/home/user/catkin_ws/src
RUN
git clone https://github.com/tecnalia-medical-robotics/manipulability_metrics
# entry script
COPY
entry.sh /home/user/catkin_ws/entry.sh
WORKDIR
/home/user/catkin_ws
USER
root
RUN
chmod
u+x /home/user/catkin_ws/entry.sh
&&
chown
user: /home/user/catkin_ws/entry.sh
USER
user
RUN
/home/user/catkin_ws/entry.sh
This diff is collapsed.
Click to expand it.
Makefile
0 → 100644
+
7
−
0
View file @
74a1b630
all
:
build run
build
:
echo
buidling:|figlet
docker build
-t
container .
run
:
echo
running:|figlet
docker run
-e
DISPLAY
=
${
DISPLAY
}
-v
/tmp/.X11-unix:/tmp/.X11-unix
-it
container
This diff is collapsed.
Click to expand it.
entry.sh
0 → 100644
+
3
−
0
View file @
74a1b630
source
devel/setup.bash
catkin_make
roslaunch manipulability_metrics_examples panda_manipulability_demo.launch
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment