From a76c247abcaaebf56c00caa7707146cdbda2caa6 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Wed, 30 Nov 2016 15:47:07 -0500 Subject: [PATCH] Changed dockerfile to odm official repo image, removed need for recompilation --- Dockerfile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index ad8066d..0abf5d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM pierotofy/opendronemap:latest +FROM opendronemap/opendronemap:latest MAINTAINER Piero Toffanin EXPOSE 3000 @@ -8,13 +8,6 @@ RUN curl --silent --location https://deb.nodesource.com/setup_6.x | sudo bash - RUN apt-get install -y nodejs python-gdal RUN npm install -g nodemon -# Recompile OpenDroneMap. This is necessary as the target architecture might be different than the one from which the base image was created -WORKDIR "/code" -RUN rm -fr build && rm -fr SuperBuild/build \ - && cd SuperBuild && mkdir build && cd build && cmake .. && make -j$(nproc) \ - && cd ../.. && mkdir build && cd build && cmake .. && make -j$(nproc) - - RUN mkdir /var/www WORKDIR "/var/www"