Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker_ros_tensorflow
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bachelor_ws
docker_ros_tensorflow
Commits
327a6c5b
Commit
327a6c5b
authored
2 years ago
by
franzqueissner
Browse files
Options
Downloads
Patches
Plain Diff
dockerfile
parent
e34f0d06
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#14550
failed
2 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+51
-0
51 additions, 0 deletions
Dockerfile
with
51 additions
and
0 deletions
Dockerfile
0 → 100644
+
51
−
0
View file @
327a6c5b
FROM
tensorflow/tensorflow:latest-gpu
ENV
ROS_DISTRO=${ROS_DISTRO}
# install essentials
RUN
apt update
&&
apt
install
-q
-y
\
build-essential git swig
sudo
libcppunit-dev curl wget
# python-future
# install ros
## setup sources.list
RUN
echo
"deb http://packages.ros.org/ros/ubuntu
`
lsb_release
-sc
`
main"
>
\
/etc/apt/sources.list.d/ros-latest.list
RUN
curl
-s
https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc |
sudo
apt-key add -
# install bootstrap tools
RUN
apt update
&&
apt
install
-y
\
python3-rosdep
\
python3-rosinstall
\
python3-wstool
\
python3-rosinstall-generator
\
python3-vcstools
\
python3-catkin-tools
\
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
rosdep init
\
&&
rosdep update
RUN
apt update
&&
apt
install
-y
\
ros-noetic-desktop-full
\
&&
rm
-rf
/var/lib/apt/lists/
*
# RUN sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
# RUN curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
# RUN apt-get install ros-noetic-desktop-full
# RUN echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
# RUN source ~/.bashrc
#
## install ros packages
#RUN apt-get update && apt-get install -y \
# ros-$ROS_DISTRO-libfranka ros-$ROS_DISTRO-franka-ros \
# python-catkin-tools ros-$ROS_DISTRO-gazebo-ros-control \
# ros-${ROS_DISTRO}-rospy-message-converter ros-${ROS_DISTRO}-effort-controllers \
# ros-${ROS_DISTRO}-joint-state-controller python-pip
#
## install python packages
#RUN pip install --upgrade pip
#RUN pip install --upgrade numpy numpy-quaternion==2020.5.11.13.33.35
#RUN apt-get update && apt-get upgrade -y
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