Skip to content

Commit 853ed89

Browse files
Gabriel MonroyMatthew Fisher
authored andcommitted
docs(readme): make pull of cached layers to speed make build
1 parent 2b9fa82 commit 853ed89

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ all: build run
1010
test_client:
1111
python -m unittest discover client.tests
1212

13+
pull:
14+
vagrant ssh -c 'for c in $(COMPONENTS); do docker pull deis/$$c; done'
15+
1316
build:
1417
vagrant ssh -c 'cd share && for c in $(COMPONENTS); do cd $$c && docker build -t deis/$$c . && cd ..; done'
1518

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ export FLEETCTL_TUNNEL=172.17.8.100
2828

2929
## Build Deis
3030

31-
Use `make build` to assemble all of the Deis components from Dockerfiles. Grab some coffee while it builds the images on the CoreOS VM (it can take a while).
31+
Use `make pull` to download cached layers from the public Docker Index. Then use `make build` to assemble all of the Deis components from Dockerfiles. Grab some coffee while it builds the images on the CoreOS VM (it can take a while).
3232

3333
```
34+
make pull
3435
make build
3536
```
3637

0 commit comments

Comments
 (0)