File tree Expand file tree Collapse file tree 4 files changed +45
-7
lines changed Expand file tree Collapse file tree 4 files changed +45
-7
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ FROM centos:7
2
2
3
3
MAINTAINER Justin Polchlopek <jpolchlopek@azavea.com>
4
4
5
- ENV SPARK_HOME /usr/local/spark-2.0 .0-bin-hadoop2.7
5
+ ENV SPARK_HOME /usr/local/spark-2.1 .0-bin-hadoop2.7
6
6
7
- ADD spark-2.0 .0-bin-hadoop2.7.tgz /usr/local
7
+ ADD spark-2.1 .0-bin-hadoop2.7.tgz /usr/local
8
8
ADD scripts/*.sh /scripts/
9
+ COPY scripts/requirements.txt /tmp
9
10
COPY toree-0.2.0.dev1.tar.gz /tmp
10
11
COPY geotrellis-uberjar-assembly-1.0.0-RC1.jar /tmp
11
12
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ IMG := quay.io/${ORG}/${REPO}
11
11
archives/${TOREE_VERSION}.zip :
12
12
(cd archives ; curl -L -O " https://github.com/apache/incubator-toree/archive/${TOREE_VERSION} .zip" )
13
13
14
- spark-2.0 .0-bin-hadoop2.7.tgz :
14
+ spark-2.1 .0-bin-hadoop2.7.tgz :
15
15
curl -L -O " http://d3kbcqa49mib13.cloudfront.net/spark-2.1.0-bin-hadoop2.7.tgz"
16
16
17
17
incubator-toree-${TOREE_VERSION} : archives/${TOREE_VERSION}.zip
@@ -28,8 +28,8 @@ geotrellis-uberjar-assembly-1.0.0-RC1.jar: geotrellis-uberjar/build.sbt
28
28
(cd geotrellis-uberjar ; ./sbt " assembly" )
29
29
cp geotrellis-uberjar/target/scala-2.11/geotrellis-uberjar-assembly-1.0.0-RC1.jar $@
30
30
31
- build : toree-0.2.0.dev1.tar.gz spark-2.0 .0-bin-hadoop2.7.tgz geotrellis-uberjar-assembly-1.0.0-RC1.jar
32
- docker build -t ${IMG} :${SHA} .
31
+ build : toree-0.2.0.dev1.tar.gz spark-2.1 .0-bin-hadoop2.7.tgz geotrellis-uberjar-assembly-1.0.0-RC1.jar
32
+ docker build --no-cache - t ${IMG} :${SHA} .
33
33
34
34
run :
35
35
docker run -it -v $(CURDIR ) /notebooks:/opt/notebooks -p 8000:8000 quay.io/geodocker/geotrellis-jupyter:9b577f1
Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ yum -y install nodejs
20
20
# Install JupyterHub and Jupyter
21
21
yum -y install gcc gcc-c++
22
22
npm install -g configurable-http-proxy
23
- scl enable rh-python35 ' pip install jupyterhub==0.7.2'
24
- scl enable rh-python35 ' pip install --upgrade notebook'
23
+ scl enable rh-python35 ' pip install -r /tmp/requirements.txt'
25
24
26
25
# Install Toree
27
26
scl enable rh-python35 ' pip install --pre /tmp/toree-0.2.0.dev1.tar.gz'
Original file line number Diff line number Diff line change
1
+ alembic == 0.8.9
2
+ bleach == 1.5.0
3
+ decorator == 4.0.10
4
+ entrypoints == 0.2.2
5
+ html5lib == 0.9999999
6
+ ipykernel == 4.5.2
7
+ ipython == 5.1.0
8
+ ipython-genutils == 0.1.0
9
+ Jinja2 == 2.9.4
10
+ jsonschema == 2.5.1
11
+ jupyter-client == 4.4.0
12
+ jupyter-core == 4.2.1
13
+ jupyterhub == 0.7.2
14
+ Mako == 1.0.6
15
+ MarkupSafe == 0.23
16
+ mistune == 0.7.3
17
+ nbconvert == 5.0.0
18
+ nbformat == 4.2.0
19
+ notebook == 4.3.1
20
+ pamela == 0.3.0
21
+ pandocfilters == 1.4.1
22
+ pexpect == 4.2.1
23
+ pickleshare == 0.7.4
24
+ prompt-toolkit == 1.0.9
25
+ ptyprocess == 0.5.1
26
+ Pygments == 2.1.3
27
+ python-editor == 1.0.3
28
+ pyzmq == 16.0.2
29
+ requests == 2.12.4
30
+ simplegeneric == 0.8.1
31
+ six == 1.10.0
32
+ SQLAlchemy == 1.1.4
33
+ terminado == 0.6
34
+ testpath == 0.3
35
+ tornado == 4.4.2
36
+ traitlets == 4.3.1
37
+ virtualenv == 13.1.2
38
+ wcwidth == 0.1.7
You can’t perform that action at this time.
0 commit comments