| 
									
										
										
										
											2019-04-14 21:07:42 +02:00
										 |  |  | FROM ubuntu:16.04
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | RUN apt-get update && apt-get install -y cmake git libtbb-dev libeigen3-dev libglew-dev ccache libjpeg-dev libpng12-dev openssh-client liblz4-dev libbz2-dev libboost-regex-dev libboost-filesystem-dev libboost-date-time-dev libboost-program-options-dev libopencv-dev libpython2.7-dev wget libgtest-dev software-properties-common
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-05-16 16:01:37 +02:00
										 |  |  | RUN add-apt-repository ppa:ubuntu-toolchain-r/test
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key C8B3A55A6F3EFCDE
 | 
					
						
							|  |  |  | RUN echo "deb http://realsense-hw-public.s3.amazonaws.com/Debian/apt-repo xenial main" > /etc/apt/sources.list.d/realsense.list
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-06-13 16:17:55 +02:00
										 |  |  | RUN apt update && apt-get install -y g++-7 librealsense2-dev librealsense2-gl-dev librealsense2-dkms librealsense2-utils
 | 
					
						
							| 
									
										
										
										
											2019-04-14 21:07:42 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | RUN update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 \
 | 
					
						
							|  |  |  |                          --slave /usr/bin/g++ g++ /usr/bin/g++-7
 | 
					
						
							|  |  |  | RUN gcc --version
 | 
					
						
							|  |  |  | RUN g++ --version
 | 
					
						
							| 
									
										
										
										
											2019-05-16 16:01:37 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | RUN wget https://cmake.org/files/v3.13/cmake-3.13.4-Linux-x86_64.sh
 | 
					
						
							|  |  |  | RUN chmod +x cmake-3.13.4-Linux-x86_64.sh
 | 
					
						
							|  |  |  | RUN ./cmake-3.13.4-Linux-x86_64.sh  --skip-license --prefix=/usr/local
 | 
					
						
							|  |  |  | RUN update-alternatives --install /usr/bin/cmake cmake /usr/local/bin/cmake 1 --force
 | 
					
						
							|  |  |  | RUN cmake --version
 |