-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·61 lines (54 loc) · 1.46 KB
/
Dockerfile
File metadata and controls
executable file
·61 lines (54 loc) · 1.46 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
FROM ros:noetic-ros-core
MAINTAINER Sascha Jongebloed, jongebloed@uni-bremen.de
ENV SWI_HOME_DIR=/usr/lib/swi-prolog
ENV LD_LIBRARY_PATH=/usr/lib/swi-prolog/lib/x86_64-linux:$LD_LIBRARY_PATH
RUN apt-get update && apt-get install -y \
software-properties-common && \
apt-add-repository ppa:swi-prolog/stable && \
apt-get update && apt-get install -y \
gdb \
g++ \
clang \
cmake \
make \
libeigen3-dev \
libspdlog-dev \
libraptor2-dev \
librdf0-dev \
libgtest-dev \
libboost-python-dev \
libboost-serialization-dev \
libboost-program-options-dev \
libfmt-dev \
mongodb-clients \
libmongoc-1.0-0 \
libmongoc-dev \
doxygen \
graphviz \
python3 \
python3-dev \
python3-pip \
python3-venv \
python-is-python3 \
python3-catkin-pkg \
python3-catkin-tools \
git \
ros-noetic-catkin \
ros-noetic-tf2-geometry-msgs \
swi-prolog*
RUN mkdir /catkin_ws
RUN mkdir /catkin_ws/src
# Build workspace with knowrob
WORKDIR /catkin_ws/src
RUN git clone https://github.com/knowrob/knowrob.git
WORKDIR /catkin_ws
RUN /usr/bin/catkin init
RUN . /opt/ros/noetic/setup.sh && /usr/bin/catkin build
# Build workspace with knowrob_ros
WORKDIR /catkin_ws/src
ADD . /catkin_ws/src/knowrob_ros
WORKDIR /catkin_ws
RUN . /opt/ros/noetic/setup.sh && /usr/bin/catkin build
COPY run_knowrob.sh /run_knowrob.sh
COPY run_knowrob_local.sh /run_knowrob_local.sh
ENTRYPOINT ["/run_knowrob_local.sh"]