1
- # Specify parent image. Please select a fixed tag here.
2
- ARG BASE_IMAGE=rwthika/acdc-notebooks:rwth-courses
3
- FROM ${BASE_IMAGE}
4
-
5
- # Install cv2
6
- USER root
7
-
8
- # Install Essentials + cv2
9
- RUN apt-get update && \
10
- apt-get install -y --no-install-recommends \
11
- git \
12
- cmake \
13
- build-essential \
14
- curl \
15
- wget \
16
- gnupg2 \
17
- lsb-release \
18
- ca-certificates \
19
- python3-opencv \
20
- && rm -rf /var/lib/apt/lists/*
21
-
22
- RUN pip install opencv-python
23
-
24
- # Install ROS
25
- RUN echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list
26
- RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
27
-
28
- RUN apt-get update && \
29
- apt-get install -y --no-install-recommends \
30
- ros-noetic-ros-base \
31
- ros-noetic-rospack \
32
- ros-noetic-catkin \
33
- ros-noetic-mrt-cmake-modules \
34
- ros-noetic-lanelet2 \
35
- libboost-dev \
36
- libeigen3-dev \
37
- libgeographic-dev \
38
- libpugixml-dev \
39
- libboost-python-dev \
40
- python3-catkin-tools \
41
- python3-empy \
42
- && rm -rf /var/lib/apt/lists/*
43
-
44
- # Install Lanelet2 and build ROS workspace
45
- RUN git clone https://github.com/fzi-forschungszentrum-informatik/Lanelet2 /lanelet2 && \
46
- cd /lanelet2 && \
47
- source /opt/ros/noetic/setup.sh && \
48
- catkin config --source-space /lanelet2 -DPYTHON_EXECUTABLE=/usr/bin/python3 && \
49
- catkin build
50
-
51
- USER jovyan
52
-
53
- # Install packages via requirements.txt
54
- ADD requirements.txt .
55
- RUN pip install -r requirements.txt
56
-
57
- # Install Plotly Widget for PCL visualization
58
- RUN jupyter labextension install jupyterlab-plotly
59
-
60
- # Install PointPillars Package
61
- RUN pip install git+https://github.com/ika-rwth-aachen/PointPillars.git@fix/ika-changes
62
-
63
- # Install TensorBoard Widget
64
- RUN pip install git+https://github.com/cliffwoolley/jupyter_tensorboard.git
65
- RUN pip install git+https://github.com/chaoleili/jupyterlab_tensorboard.git
66
- RUN jupyter tensorboard enable --user
1
+ FROM rwthika/acdc-notebooks:latest
0 commit comments