Commit 772a1ac4 authored by Rousseau Vincent's avatar Rousseau Vincent

Add docker files

parent d8d2eac5
FROM ros:kinetic-ros-core
# install ros tutorials packages
RUN apt-get update && apt-get install -y \
ros-kinetic-rosbridge-suite \
wget python-smbus python-pip \
&& rm -rf /var/lib/apt/lists/
RUN pip install adafruit-ads1x15
COPY . /app
version: '2'
services:
ads1115:
build: .
devices:
- "/dev/i2c-1"
depends_on:
- web-bridge
command: python /app/scripts/ads1115_node.py
network_mode: "host"
restart: on-failure
web-bridge:
build: .
command: roslaunch rosbridge_server rosbridge_websocket.launch
network_mode: "host"
restart: on-failure
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment