-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
40 lines (29 loc) · 1.11 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
36
37
38
39
40
FROM ubuntu:14.04
MAINTAINER Eduardo Feo Flushing <[email protected]>
LABEL Description="This image is used to setup the installation of RoboNetSim" Vendor="IDSIA" Version="1.0"
RUN apt-get update && apt-get install -y \
git \
libgsl0-dev \
libqt4-dev \
libqt4-gui libqt4-opengl-dev freeglut3-dev libxmu-dev libxi-dev \
build-essential \
cmake && rm -rf /var/lib/apt/lists/*
WORKDIR /root
USER root
RUN mkdir /RoboNetSim
RUN set -x \
&& cd /RoboNetSim \
&& ( git clone https://github.com/EduardoFF/argos2-RoboNetSim.git && cd argos2-RoboNetSim && git checkout ) \
&& cd argos2-RoboNetSim/argos2 \
&& ./build.sh release clean \
&& (cd build/simulator && make install ) \
&& (cd build/common/simulator && make install ) \
&& cp launch_argos /usr/bin && rm -rf build
RUN apt-get update && apt-get install -y \
python-dev
RUN set -x \
&& cd /RoboNetSim \
&& ( git clone https://github.com/EduardoFF/ns-3-dev-git.git && cd ns-3-dev-git && git checkout RoboNetSim ) \
&& cd ns-3-dev-git && CXXFLAGS="-Wall" ./waf configure -d optimized --enable-examples --enable-tests && ./waf
RUN rm -rf /var/lib/apt/lists/*
VOLUME /RoboNetSim