Getting Started w/ Docker Containers

- Add docker block post to README
- Add docker-compose.yml with ros and gazebo services
- Add Dockerfile for ros and gazebo using official images
This commit is contained in:
Sravan Balaji
2020-03-18 15:00:06 -04:00
parent d5d8fa1023
commit bfa43a8168
4 changed files with 36 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
# RRRobot
# RRRobot!
## Team
@@ -14,4 +14,6 @@
## Introduction
Repository for UMICH EECS 467: Autonomous Robotics (W20) RRRobot! project.
Repository for UMICH EECS 467: Autonomous Robotics (W20) RRRobot! project.
To get started, you will need to install Docker on your system. Information on what Docker is, how to install it, and how to use it can be found in [Getting Started with Docker](https://sravanbalaji.com/Web%20Pages/blog_docker.html).

20
src/docker-compose.yml Normal file
View File

@@ -0,0 +1,20 @@
# Docker Compose
# docker-compose.yml format version
version: '3'
# Define services
services:
ros:
build: ./ros
volumes:
- ./ros:/app
working_dir: /app
gazebo:
build: ./gazebo
volumes:
- ./gazebo:/app
working_dir: /app

6
src/gazebo/Dockerfile Normal file
View File

@@ -0,0 +1,6 @@
# Gazebo Dockerfile
# Use official image for Gazebo 9.x
FROM gazebo:gzserver9
CMD ["/bin/bash"]

6
src/ros/Dockerfile Normal file
View File

@@ -0,0 +1,6 @@
# ROS Dockerfile
# Use official image for ROS Melodic Morenia
FROM ros:melodic-ros-core
CMD ["/bin/bash"]