Skip to content

Commit ddd6c25

Browse files
authored
Merge pull request #2 from uw-it-aca/pm-RTTL-43_update_z2jh
updated all notebooks to use 1.3 Jupyter version
2 parents b62c9b8 + 2a82704 commit ddd6c25

File tree

9 files changed

+48
-39
lines changed

9 files changed

+48
-39
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
# rttl-notebooks
22
Docker images for base RTTL notebooks
3+
4+
Running notebook locally
5+
- `docker run -p 8888:8888 gcr.io/uwit-mci-axdd/<image_name>:<image_tag>`
6+
- Console output will include localhost url with access token. Add '/lab' to the end of the path portion

datascience/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
ARG BASE_CONTAINER=jupyter/datascience-notebook:d990a62010ae
1+
ARG BASE_CONTAINER=jupyter/datascience-notebook:hub-1.3.0
2+
23
FROM $BASE_CONTAINER
34

45
LABEL maintainer="UW-IT AXDD <[email protected]>"

datascience/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ APP_BIN?=app
44
default: build
55

66
DOCKER_REPO?=gcr.io/uwit-mci-axdd/rttl-datascience-notebook
7-
DOCKER_TAG?=d990a62010ae
7+
DOCKER_TAG?=latest_1-3
88

99
build:
1010
docker build -t $(DOCKER_REPO):latest -t $(DOCKER_REPO):$(DOCKER_TAG) .

r/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BASE_CONTAINER=jupyter/r-notebook:d990a62010ae
1+
ARG BASE_CONTAINER=jupyter/r-notebook:hub-1.3.0
22
FROM $BASE_CONTAINER
33

44
LABEL maintainer="UW-IT AXDD <[email protected]>"

r/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ APP_BIN?=app
44
default: build
55

66
DOCKER_REPO?=gcr.io/uwit-mci-axdd/rttl-r-notebook
7-
DOCKER_TAG?=d990a62010ae
7+
DOCKER_TAG?=latest_1-3
88

99
build:
1010
docker build -t $(DOCKER_REPO):latest -t $(DOCKER_REPO):$(DOCKER_TAG) .

scipy/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BASE_CONTAINER=jupyter/scipy-notebook:d990a62010ae
1+
ARG BASE_CONTAINER=jupyter/scipy-notebook:hub-1.3.0
22
FROM $BASE_CONTAINER
33

44
LABEL maintainer="UW-IT AXDD <[email protected]>"

scipy/Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ APP_BIN?=app
44
default: build
55

66
DOCKER_REPO?=gcr.io/uwit-mci-axdd/rttl-scipy-notebook
7-
DOCKER_TAG?=d990a62010ae
7+
DOCKER_TAG?=latest_1-3
88

99
build:
10-
docker build -t $(DOCKER_REPO):latest -t $(DOCKER_REPO):$(DOCKER_TAG) .
10+
# docker build -t $(DOCKER_REPO):latest -t $(DOCKER_REPO):$(DOCKER_TAG) .
11+
docker build -t $(DOCKER_REPO):$(DOCKER_TAG) .
1112

1213
push: build
1314
docker push $(DOCKER_REPO):$(DOCKER_TAG)
14-
docker push $(DOCKER_REPO):latest
15+
# docker push $(DOCKER_REPO):latest

tensorflow/Dockerfile

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG BASE_CONTAINER=jupyter/tensorflow-notebook:d990a62010ae
1+
ARG BASE_CONTAINER=jupyter/tensorflow-notebook:dfcb043bd887
22
FROM $BASE_CONTAINER
33

44
LABEL maintainer="UW-IT AXDD <[email protected]>"
@@ -10,33 +10,35 @@ LABEL maintainer="UW-IT AXDD <[email protected]>"
1010
# bokeh, sqlalchemy, hdf5, vincent, beautifulsoup, protobuf, xlrd, bottleneck,
1111
# pytables, ipywidgets, ipympl, facets, tensorflow, keras
1212

13-
RUN conda install \
14-
emcee \
15-
pymc3 \
16-
astroML \
17-
astropy \
18-
astroplan \
19-
astroquery \
20-
gatspy \
21-
pytorch \
22-
photutils \
23-
# ccdproc \
24-
lmfit \
25-
uncertainties \
26-
openpyxl \
27-
hickle \
28-
spacy \
29-
textblob \
30-
nltk \
31-
gensim \
32-
requests \
33-
lxml \
34-
cssselect \
35-
plotnine \
36-
plotly \
37-
selenium \
38-
pylogit \
39-
choicemodels
13+
RUN mamba install --quiet --yes \
14+
emcee \
15+
pymc3 \
16+
astroML \
17+
astropy \
18+
astroplan \
19+
astroquery \
20+
gatspy \
21+
pytorch \
22+
lmfit \
23+
uncertainties \
24+
openpyxl \
25+
hickle \
26+
spacy \
27+
textblob \
28+
nltk \
29+
gensim \
30+
requests \
31+
lxml \
32+
cssselect \
33+
photutils \
34+
plotnine \
35+
plotly \
36+
selenium \
37+
pylogit \
38+
choicemodels && \
39+
mamba clean --all -f -y && \
40+
fix-permissions "${CONDA_DIR}" && \
41+
fix-permissions "/home/${NB_USER}"
4042

4143
# Install Python 3 packages
4244
RUN pip install \

tensorflow/Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ APP_BIN?=app
44
default: build
55

66
DOCKER_REPO?=gcr.io/uwit-mci-axdd/rttl-tensorflow-notebook
7-
DOCKER_TAG?=d990a62010ae
7+
DOCKER_TAG?=latest_1-3
88

99
build:
10-
docker build -t $(DOCKER_REPO):latest -t $(DOCKER_REPO):$(DOCKER_TAG) .
10+
# docker build -t $(DOCKER_REPO):latest -t $(DOCKER_REPO):$(DOCKER_TAG) .
11+
docker build -t $(DOCKER_REPO):$(DOCKER_TAG) .
1112

1213
push: build
1314
docker push $(DOCKER_REPO):$(DOCKER_TAG)
14-
docker push $(DOCKER_REPO):latest
15+
# docker push $(DOCKER_REPO):latest

0 commit comments

Comments
 (0)