This repository has been archived by the owner on Jul 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from SpaceNetChallenge/spacenetV2
Spacenet V2
- Loading branch information
Showing
23 changed files
with
3,783 additions
and
533 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
LABEL maintainer dlindenbaum | ||
|
||
|
||
## List of Python packages needed | ||
###dataTools | ||
#import numpy as np | ||
#from osgeo import ogr, gdal, osr | ||
#import cv2 | ||
###evalTools | ||
###geoTools | ||
#from osgeo import gdal, osr, ogr | ||
# import rtree | ||
#from osgeo import gdal, osr, ogr, gdalnumeric | ||
#from PIL import Image | ||
|
||
## Install External Libraries for Pillow | ||
#apt-get install | ||
#libjpeg | ||
#zlib | ||
#libtiff | ||
#libfreetype | ||
#littlecms | ||
#libwebp | ||
#openjpeg | ||
# | ||
### install Python openCV | ||
#libopencv-dev \ | ||
#python-opencv \ | ||
#python-numpy \ | ||
#python-pip \ | ||
#python-setuptools \ | ||
#gdal-bin \ | ||
#python-gdal | ||
|
||
## Install General Requirements | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
apt-utils \ | ||
build-essential \ | ||
cmake \ | ||
git \ | ||
wget \ | ||
vim \ | ||
python-dev \ | ||
python-pip \ | ||
python-setuptools | ||
RUN pip install --upgrade pip | ||
|
||
## Install Basics for Python | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
python-numpy \ | ||
python-scipy | ||
|
||
## Install Essentials for Pillow | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
libjpeg-dev \ | ||
zlib1g \ | ||
libtiff5-dev \ | ||
libfreetype6-dev \ | ||
libwebp-dev \ | ||
libopenjpeg-dev | ||
|
||
RUN pip install Pillow | ||
|
||
## Install GDAL Requirments | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
gdal-bin \ | ||
python-gdal | ||
|
||
## Instal OpenCV Requirements | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
libopencv-dev \ | ||
python-opencv | ||
|
||
## Install RTRee | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
libspatialindex-dev | ||
|
||
RUN pip install rtree | ||
|
||
ENV GIT_BASE=/opt/ | ||
WORKDIR $GIT_BASE | ||
|
||
# Download spaceNetUtilities | ||
# FIXME: use ARG instead of ENV once DockerHub supports this | ||
ENV CLONE_TAG=spacenetV2 | ||
RUN git clone -b ${CLONE_TAG} --depth 1 https://github.com/SpaceNetChallenge/utilities.git | ||
|
||
ENV PYUTILS_ROOT $GIT_BASE/utilities/python | ||
ENV PYTHONPATH $PYUTILS_ROOT:$PYTHONPATH | ||
|
||
WORKDIR /workspace | ||
|
||
|
Oops, something went wrong.