-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathDockerfile
30 lines (20 loc) · 825 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# To build:
# docker build --pull --no-cache --tag flock2:foxy .
# To run:
# docker run -it flock2:foxy bash
# I'm using this for smoke tests
# To run flock2 in a docker container you will need to set up ports, x-windows, etc.
FROM osrf/ros:foxy-desktop
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y libasio-dev
RUN apt-get install -y python3-pip
RUN yes | pip3 install 'transformations==2018.9.5'
WORKDIR /work/flock2_ws/src
RUN git clone https://github.com/clydemcqueen/flock2.git
RUN git clone https://github.com/clydemcqueen/tello_ros.git
RUN git clone https://github.com/ptrmu/ros2_shared.git
RUN git clone https://github.com/ptrmu/fiducial_vlam.git
WORKDIR /work/flock2_ws
RUN rosdep install -y --from-paths . --ignore-src
RUN /bin/bash -c "source /opt/ros/foxy/setup.bash && colcon build"