mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fixes the README build example to make it work
This commit is contained in:
parent
908e4797a6
commit
a47d8799b1
1 changed files with 8 additions and 8 deletions
10
README.md
10
README.md
|
@ -79,12 +79,12 @@ Here's a typical docker build process:
|
||||||
```bash
|
```bash
|
||||||
from ubuntu:12.10
|
from ubuntu:12.10
|
||||||
run apt-get update
|
run apt-get update
|
||||||
run apt-get install python
|
run DEBIAN_FRONTEND=noninteractive apt-get install -q -y python
|
||||||
run apt-get install python-pip
|
run DEBIAN_FRONTEND=noninteractive apt-get install -q -y python-pip
|
||||||
run pip install django
|
run pip install django
|
||||||
run apt-get install curl
|
run DEBIAN_FRONTEND=noninteractive apt-get install -q -y curl
|
||||||
run curl http://github.com/shykes/helloflask/helloflask/master.tar.gz | tar -zxv
|
run curl -L https://github.com/shykes/helloflask/archive/master.tar.gz | tar -xzv
|
||||||
run cd master && pip install -r requirements.txt
|
run cd helloflask-master && pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that Docker doesn't care *how* dependencies are built - as long as they can be built by running a unix command in a container.
|
Note that Docker doesn't care *how* dependencies are built - as long as they can be built by running a unix command in a container.
|
||||||
|
|
Loading…
Reference in a new issue