-
Notifications
You must be signed in to change notification settings - Fork 16
/
Dockerfile
37 lines (22 loc) · 1015 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
FROM ubuntu:18.04
LABEL maintainer "Artur Balanuta"
MAINTAINER "[email protected]"
ENV work_dir /root
WORKDIR ${work_dir}
RUN apt-get update && \
apt-get install -y htop nano vim git wget aria2 build-essential cmake software-properties-common
RUN apt-key adv --keyserver keys.gnupg.net --recv-key C8B3A55A6F3EFCDE || \
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C8B3A55A6F3EFCDE
RUN add-apt-repository "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo bionic main" -u
RUN apt-get update && \
apt-get install -y librealsense2 librealsense2-utils librealsense2-dev librealsense2-dbg
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libpcl-dev
RUN aria2c -x16 --summary-interval=1 "https://github.com/google/snappy/archive/1.1.7.tar.gz" && \
tar -xvf 1.1.7.tar.gz && \
mv snappy-1.1.7 snappy && \
rm 1.1.7.tar.gz
#VOLUME /root
COPY CMakeLists.txt ${work_dir}
COPY calibration ${work_dir}/calibration
COPY src ${work_dir}/src
COPY samples ${work_dir}/samples