Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
panda_gazebo_workspace
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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christian Braun
panda_gazebo_workspace
Commits
aae48d4e
Commit
aae48d4e
authored
4 years ago
by
Tim Kluge
Browse files
Options
Downloads
Patches
Plain Diff
Update Dockerfile: Add umask, fix home dir
parent
488988e8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+23
-6
23 additions, 6 deletions
Dockerfile
vnc/simple_simulation.sh
+0
-4
0 additions, 4 deletions
vnc/simple_simulation.sh
with
23 additions
and
10 deletions
Dockerfile
+
23
−
6
View file @
aae48d4e
FROM
fbottarel/ros
-desktop-
full
-vnc:
melod
ic
FROM
dorowu/ubuntu
-desktop-
lxde
-vnc:
bion
ic
RUN
apt-get update
&&
apt-get dist-upgrade
-y
# Fix dirmngr
RUN
apt-get purge dirmngr
-y
&&
apt-get update
&&
apt-get
install
dirmngr
-y
RUN
apt-get dist-upgrade
-y
# Adding keys for ROS
RUN
sh
-c
'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
RUN
apt-key adv
--keyserver
'hkp://keyserver.ubuntu.com:80'
--recv-key
C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
# Installing ROS
RUN
apt-get update
&&
apt-get
install
-y
ros-melodic-desktop-full wget nano python-rosdep
RUN
apt-get
install
-y
\
ros-melodic-libfranka python-catkin-tools libeigen3-dev
COPY
./vnc/simple_simulation.sh /root/Desktop/
RUN
ln
-s
/usr/share/applications/lxterminal.desktop /root/Desktop/lxterminal.desktop
RUN
chmod
a+x /root/Desktop/simple_simulation.sh
&&
mkdir
/root/ws_tmp
RUN
apt-get
install
-y
python-rosinstall python-rosinstall-generator python-wstool build-essential
RUN
rosdep init
&&
rosdep update
RUN
mkdir
-p
/root/ws_tmp /root/Desktop
&&
ln
-s
/usr/share/applications/lxterminal.desktop /root/Desktop/lxterminal.desktop
ENV
ROS_DISTRO=melodic
RUN
/bin/bash
-c
"echo -e 'source /root/Desktop/ros_ws/devel/setup.bash
\n
\
umask 000
\n
\
cd /root/Desktop/ros_ws/
\n
' >> /root/.bashrc "
WORKDIR
/root/ws_tmp
COPY
vnc/copyws.sh /root/copyws.sh
RUN
chmod
a+x /root/copyws.sh
COPY
./src /root/ws_tmp/src
RUN
apt-get update
&&
rosdep
install
--from-paths
.
-r
-y
&&
apt-get clean
RUN
apt-get update
&&
rosdep
install
--from-paths
.
-r
-y
RUN
catkin config
\
--extend
/opt/ros/melodic
&&
\
catkin build
...
...
This diff is collapsed.
Click to expand it.
vnc/simple_simulation.sh
deleted
100644 → 0
+
0
−
4
View file @
488988e8
#!/bin/bash
source
/root/Desktop/ros_ws/devel/setup.bash
lxterminal
--command
"roslaunch sample_applications simple_simulation.launch"
\ No newline at end of file
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