Browse Source

bionic: cmake, boost fs/regex/sys, hdf4/5, netcdf4, gdal & gtest

Fabian Peter Hammerle 5 years ago
commit
6b7d0e7401
1 changed files with 23 additions and 0 deletions
  1. 23 0
      Dockerfile

+ 23 - 0
Dockerfile

@@ -0,0 +1,23 @@
+FROM ubuntu:18.04
+
+RUN apt-get update && apt-get install --yes \
+	libyaml-cpp-dev \
+    cmake \
+    libboost-filesystem-dev \
+    libboost-regex-dev \
+    libboost-system-dev \
+    libhdf4-dev \
+    libhdf5-dev \
+    libnetcdf-c++4-dev \
+    make
+
+RUN apt-get install --yes libgtest-dev
+WORKDIR /usr/src/gtest
+RUN cmake . && make install
+
+RUN apt-get install --yes \
+    libgdal-dev \
+    libnetcdf-cxx-legacy-dev
+
+RUN mkdir /build
+WORKDIR /build