forked from boschresearch/pcg_gazebo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
38 lines (28 loc) · 955 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
31
32
33
34
35
36
37
38
FROM ubuntu:20.04
MAINTAINER Musa Morena Marcusso Manhaes <[email protected]>
# Use the "noninteractive" debconf frontend
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get install \
python3-pip \
libspatialindex-dev \
libgeos-dev \
wget \
libfcl-dev \
pybind11-dev \
liboctomap-dev \
blender \
pandoc -y
RUN python3 -m pip install pip --upgrade
RUN pip3 install flake8 autopep8
COPY . /tmp/pcg_gazebo
WORKDIR /tmp/pcg_gazebo
RUN autopep8 --recursive --aggressive --diff --exit-code /tmp/pcg_gazebo/pcg_gazebo
RUN autopep8 --recursive --aggressive --diff --exit-code /tmp/pcg_gazebo/scripts
RUN autopep8 --recursive --aggressive --diff --exit-code /tmp/pcg_gazebo/tests
RUN flake8 /tmp/pcg_gazebo/pcg_gazebo
RUN flake8 /tmp/pcg_gazebo/scripts
RUN flake8 /tmp/pcg_gazebo/tests
RUN pip3 install -e .[all]
RUN python3 -c "import pcg_gazebo"
RUN pytest -v -x /tmp/pcg_gazebo/tests