Skip to content

Commit e690f99

Browse files
committed
Merged in James's updates
2 parents 623ffb1 + aa6cec0 commit e690f99

File tree

4 files changed

+45
-7
lines changed

4 files changed

+45
-7
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ FROM centos:7
22

33
MAINTAINER Justin Polchlopek <jpolchlopek@azavea.com>
44

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
66

7-
ADD spark-2.0.0-bin-hadoop2.7.tgz /usr/local
7+
ADD spark-2.1.0-bin-hadoop2.7.tgz /usr/local
88
ADD scripts/*.sh /scripts/
9+
COPY scripts/requirements.txt /tmp
910
COPY toree-0.2.0.dev1.tar.gz /tmp
1011
COPY geotrellis-uberjar-assembly-1.0.0-RC1.jar /tmp
1112

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ IMG := quay.io/${ORG}/${REPO}
1111
archives/${TOREE_VERSION}.zip:
1212
(cd archives ; curl -L -O "https://github.com/apache/incubator-toree/archive/${TOREE_VERSION}.zip")
1313

14-
spark-2.0.0-bin-hadoop2.7.tgz:
14+
spark-2.1.0-bin-hadoop2.7.tgz:
1515
curl -L -O "http://d3kbcqa49mib13.cloudfront.net/spark-2.1.0-bin-hadoop2.7.tgz"
1616

1717
incubator-toree-${TOREE_VERSION}: archives/${TOREE_VERSION}.zip
@@ -28,8 +28,8 @@ geotrellis-uberjar-assembly-1.0.0-RC1.jar: geotrellis-uberjar/build.sbt
2828
(cd geotrellis-uberjar ; ./sbt "assembly")
2929
cp geotrellis-uberjar/target/scala-2.11/geotrellis-uberjar-assembly-1.0.0-RC1.jar $@
3030

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} .
3333

3434
run:
3535
docker run -it -v $(CURDIR)/notebooks:/opt/notebooks -p 8000:8000 quay.io/geodocker/geotrellis-jupyter:9b577f1

scripts/build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ yum -y install nodejs
2020
# Install JupyterHub and Jupyter
2121
yum -y install gcc gcc-c++
2222
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'
2524

2625
# Install Toree
2726
scl enable rh-python35 'pip install --pre /tmp/toree-0.2.0.dev1.tar.gz'

scripts/requirements.txt

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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

0 commit comments

Comments
 (0)