fix order of package management (#504)

pull/526/head
Stephen Mather 2017-03-03 13:13:27 -05:00 zatwierdzone przez Dakota Benjamin
rodzic 36a79c29c2
commit d5010b9488
1 zmienionych plików z 11 dodań i 7 usunięć

Wyświetl plik

@ -4,10 +4,6 @@ MAINTAINER Alex Hagiopol <alex.hagiopol@icloud.com>
# Env variables
ENV DEBIAN_FRONTEND noninteractive
# Add ubuntugis/ppa
RUN add-apt-repository -y ppa:ubuntugis/ppa
RUN apt-get update
#Install dependencies
#Required Requisites
RUN apt-get update \
@ -16,9 +12,6 @@ RUN apt-get update \
cmake \
git \
python-pip \
libgdal-dev \
gdal-bin \
libgeotiff-dev \
pkg-config
#CMake 3.1 for MVS-Texturing
@ -27,6 +20,17 @@ RUN add-apt-repository -y ppa:george-edison55/cmake-3.x
RUN apt-get update -y
RUN apt-get install -y --only-upgrade cmake
# Install geo-related depends
# Add ubuntugis/ppa
RUN add-apt-repository -y ppa:ubuntugis/ppa
RUN apt-get update
RUN apt-get update \
&& apt-get install -y -qq \
libgdal-dev \
gdal-bin \
libgeotiff-dev
#Installing OpenCV Dependencies
RUN apt-get install -y -qq libgtk2.0-dev \
libavcodec-dev \