forked from pangeo-data/pangeo-docker-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (24 loc) · 1.05 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
# 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 .
base-notebook : base-image
cd base-notebook ; \
../update_lockfile.sh ../base-image/condarc.yml; \
../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 ../base-image/condarc.yml; \
../list_packages.sh | sort > packages.txt; \
docker build -t pangeo/pangeo-notebook:master . ; \
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