-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
45 lines (38 loc) · 932 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
39
40
41
42
43
44
45
FROM ubuntu:18.04
RUN apt-get update && \
# Utilitaires
apt-get install -y \
git \
cmake \
wget \
tar \
libx11-dev \
xorg-dev \
libssl-dev \
build-essential \
libusb-1.0-0-dev \
libglu1-mesa-dev && \
# OpenGL
apt-get install -qq --no-install-recommends \
libglvnd0 \
libgl1 \
libglx0 \
libegl1 \
libxext6 \
libx11-6 && \
rm -rf /var/lib/apt/lists/* && \
# Get folder ready
mkdir /app /dpds && \
cd dpds && \
# Realsense SDK
wget --no-check-certificate https://github.com/IntelRealSense/librealsense/archive/refs/tags/v2.50.0.tar.gz && \
tar -xzf v2.50.0.tar.gz && \
rm v2.50.0.tar.gz && \
cd librealsense-2.50.0/ && \
mkdir build && cd build && \
cmake .. && \
make && \
make install
ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES graphics,utility,compute
RUN apt-get update