Skip to content

Commit

Permalink
[build] update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
carlodef committed Mar 15, 2019
1 parent 7203563 commit 4561074
Showing 1 changed file with 9 additions and 27 deletions.
36 changes: 9 additions & 27 deletions Dockerfile
@@ -1,38 +1,20 @@
# docker for s2p
# Carlo de Franchis <carlodef@gmail.com>

FROM ubuntu:16.04
FROM ubuntu:latest
MAINTAINER Carlo de Franchis <carlodef@gmail.com>
# https://goo.gl/aypXVx
ARG DEBIAN_FRONTEND=noninteractive
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
build-essential \
cmake \
gdal-bin \
geographiclib-tools \
git \
libfftw3-dev \
libgdal-dev \
libgeographic-dev \
libgeotiff-dev \
libtiff5-dev \
python \
python-numpy \
python-pip \
cmake \
software-properties-common \
python-software-properties \
unzip
RUN pip install -U pip
RUN pip install utm bs4 lxml requests

# Install GDAL 2.x from ubuntugis-stable
RUN apt-get install dialog apt-utils -y
RUN add-apt-repository ppa:ubuntugis/ppa -y
RUN apt-get update && apt-get install -y \
gdal-bin \
python-gdal

# Install s2p from MISS3D/s2p
RUN git clone https://github.com/MISS3D/s2p.git --recursive
RUN cd s2p && make all
python3 \
python3-numpy \
python3-pip

WORKDIR /s2p
# Install s2p
RUN pip3 install s2p

0 comments on commit 4561074

Please sign in to comment.