forked from pangeo-data/pangeo-docker-images
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
35 lines (30 loc) · 1.36 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Makefile for convenience
.PHONY: base-image base-notebook pangeo-notebook ml-notebook
TESTDIR=/srv/test
base-image :
cd base-image ; \
docker build -t pangeo/base-image:master . --progress plain
base-notebook : base-image
cd base-notebook ; \
../update_lockfile.sh; \
../list_packages.sh | sort > packages.txt; \
docker build -t pangeo/base-notebook:master . ; \
docker run -w $(TESTDIR) -v $(PWD):$(TESTDIR) pangeo/base-notebook:master ./run_tests.sh base-notebook
pangeo-notebook : base-image
cd pangeo-notebook ; \
../update_lockfile.sh; \
../list_packages.sh | sort > packages.txt; \
docker build -t pangeo/pangeo-notebook:master . --progress plain;
docker run -w $(TESTDIR) -v $(PWD):$(TESTDIR) pangeo/pangeo-notebook:master ./run_tests.sh pangeo-notebook
ml-notebook : base-image
cd ml-notebook ; \
../update_lockfile.sh condarc.yml; \
../list_packages.sh | sort > packages.txt; \
docker build -t pangeo/ml-notebook:master . ; \
docker run -w $(TESTDIR) -v $(PWD):$(TESTDIR) pangeo/ml-notebook:master ./run_tests.sh ml-notebook
jupyterlab-dask-notebook : base-image
cd pangeo-notebook ; \
../update_lockfile.sh; \
../list_packages.sh | sort > packages.txt; \
docker build -t rushowl/jupyterlab-dask-notebook:master . --progress plain; \
docker run -w $(TESTDIR) -v $(PWD):$(TESTDIR) rushowl/jupyterlab-dask-notebook:master ./run_tests.sh pangeo-notebook