forked from dusty-nv/jetson-containers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
68 lines (63 loc) · 1.2 KB
/
Dockerfile
File metadata and controls
68 lines (63 loc) · 1.2 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
62
63
64
65
66
67
68
#---
# name: vtk
# group: sim
# config: config.py
# depends: [ninja, cmake, rust]
# requires: '>=36.0.0'
# test: test.py
# notes: https://gitlab.kitware.com/vtk/vtk
#---
ARG BASE_IMAGE
FROM ${BASE_IMAGE}
ARG VTK_VERSION \
VTK_VERSION_SPEC \
CUDAARCHS
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
gcc \
g++ \
ninja-build \
cmake \
libgl1-mesa-dev \
python3-dev \
git \
git \
curl \
clang \
wget \
bash-completion \
libgl1 \
libglx-mesa0 \
libegl-dev \
libegl1 \
libxrender1 \
libglib2.0-0 \
ffmpeg \
libgtk2.0-dev \
pkg-config \
libvulkan-dev \
libgles2 \
libglvnd0 \
libglx0 \
freeglut3-dev \
libglfw3-dev \
libglm-dev \
libglu1-mesa-dev \
liblz4-dev \
libssl-dev \
libtinfo-dev \
libwayland-dev \
libx11-xcb-dev \
libxcb-dri3-dev \
libxcb-ewmh-dev \
libxcb-keysyms1-dev \
libxcb-randr0-dev \
libxcursor-dev \
libxi-dev \
libxinerama-dev \
libxrandr-dev \
libzstd-dev \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*
COPY build.sh install.sh /tmp/vtk/
RUN /tmp/vtk/install.sh || /tmp/vtk/build.sh