Skip to content

Commit 0b5c2c2

Browse files
20170717 Orfeo Toolbox
1 parent 6b5fcae commit 0b5c2c2

File tree

4 files changed

+33
-1
lines changed

4 files changed

+33
-1
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ RUN chmod +x /tini
7676
RUN apt-get update
7777
RUN apt-get install -y python-dev python3-dev npm python-pip python3-pip nodejs-legacy python-virtualenv pypy
7878
RUN apt-get install -y libzmq3 libzmq3-dev python3-zmq
79+
RUN apt-get install -y libffi-dev libssl-dev
7980

8081
# use bash
8182
RUN ln -snf /bin/bash /bin/sh

Dockerfile-otb-apt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
2+
# container: hermantolentino/docker-pyspark:v1
3+
# To use this Docker container you should have installed its container dependencies:
4+
# 1. hermantolentino/jupyterhub-packages:v1
5+
#
6+
FROM hermantolentino/jupyterhub-packages:v1
7+
8+
9+
10+
USER root
11+
12+
RUN \
13+
DEBIAN_FRONTEND=noninteractive
14+
15+
RUN \
16+
apt-get update && \
17+
apt-get install -y apt-transport-https
18+
19+
RUN apt-get install -qqy software-properties-common --no-install-recommends && \
20+
apt-add-repository -y ppa:ubuntugis/ubuntugis-unstable && \
21+
apt-get -qqy update && \
22+
apt-get install -qqy otb-bin otb-bin-qt python-otb --no-install-recommends && \
23+
apt-get clean && \
24+
rm -rf /var/lib/apt/lists/*
25+
26+
RUN \
27+
apt-get -y autoremove
28+
29+
CMD \
30+
["/bin/bash"]

packages/python-gis-packages.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# Use UbuntuGIS repository for GDAL
77
apt-get install -y software-properties-common
88
apt-add-repository -y ppa:ubuntugis/ubuntugis-unstable
9-
add-apt-repository -y ppa:imincik/gis
109
apt-get update
1110
#apt-get install -y libcpl-dev libgeos-dev libgdal-dev libgdal1h libgdal1-dev libproj-dev \
1211
# libgeos-dev gdal-bin

packages/python-packages.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
# https://github.com/rasbt/pattern_classification/blob/master/resources/python_data_libraries.md
33
apt-get update
44
apt-get install -y libhdf5-serial-dev libfreetype6-dev
5+
apt-get install -y libffi-dev libssl-dev
56

67
source /venv27/bin/activate
8+
pip2 install --upgrade pyOpenSSL ndg-httpsclient pyasn certifi
79
pip2 install --upgrade setuptools pip
810
pip2 install retry
911
pip2 install numpy pandas

0 commit comments

Comments
 (0)