-
Notifications
You must be signed in to change notification settings - Fork 350
/
Dockerfile
35 lines (28 loc) · 1.14 KB
/
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
31
32
33
34
35
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND=noninteractive
# Installing some essential system packages
RUN apt-get update && apt-get install -y --no-install-recommends \
lsb-release \
build-essential \
python3 python3-dev python3-pip \
cmake \
git \
vim \
ca-certificates \
libzmqpp-dev \
libopencv-dev \
gnupg2 \
&& rm -rf /var/lib/apt/lists/*
RUN /bin/bash -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list' && \
apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
# Installing ROS Melodic
RUN apt-get update && apt-get install -y --no-install-recommends \
ros-melodic-desktop-full
# Installing catkin tools
RUN apt-get update && apt-get install -y python3-setuptools && pip3 install catkin-tools
RUN /bin/bash cd /home && git clone https://github.com/uzh-rpg/flightmare.git \
&& echo "export FLIGHTMARE_PATH=/home/flightmare" >> ~/.bashrc
&& source ~/.bashrc
RUN /bin/bash cd /home/flightmare/flightlib && pip3 install . \
&& cd /home/flightmare/flightrl && pip3 install . \
&&