mirror of
https://github.com/EECS-467-W20-RRRobot-Project/RRRobot.git
synced 2025-08-25 01:02:46 +00:00
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:
@@ -1,4 +1,4 @@
|
|||||||
# RRRobot
|
# RRRobot!
|
||||||
|
|
||||||
## Team
|
## Team
|
||||||
|
|
||||||
@@ -14,4 +14,6 @@
|
|||||||
|
|
||||||
## Introduction
|
## 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
20
src/docker-compose.yml
Normal 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
6
src/gazebo/Dockerfile
Normal 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
6
src/ros/Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# ROS Dockerfile
|
||||||
|
|
||||||
|
# Use official image for ROS Melodic Morenia
|
||||||
|
FROM ros:melodic-ros-core
|
||||||
|
|
||||||
|
CMD ["/bin/bash"]
|
Reference in New Issue
Block a user