DOCKER_VERSION and docker-version havn't been implemented.
| ... | ... |
@@ -1,4 +1,3 @@ |
| 1 |
-(docker-version) |
|
| 2 | 1 |
(from "ubuntu:14.04") |
| 3 | 2 |
(maintainer "Tianon Gravi <admwiggin@gmail.com> (@tianon)") |
| 4 | 3 |
(run "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq apt-utils aufs-tools automake btrfs-tools build-essential curl dpkg-sig git iptables libapparmor-dev libcap-dev libsqlite3-dev lxc=1.0* mercurial pandoc parallel reprepro ruby1.9.1 ruby1.9.1-dev s3cmd=1.1.0* --no-install-recommends") |
| ... | ... |
@@ -59,12 +59,8 @@ Create an empty file called `Dockerfile`: |
| 59 | 59 |
touch Dockerfile |
| 60 | 60 |
|
| 61 | 61 |
Open the `Dockerfile` in your favorite text editor |
| 62 |
-and add the following line that defines the version of Docker the image |
|
| 63 |
-requires to build (this example uses Docker 0.3.4): |
|
| 64 | 62 |
|
| 65 |
- # DOCKER-VERSION 0.3.4 |
|
| 66 |
- |
|
| 67 |
-Next, define the parent image you want to use to build your own image on |
|
| 63 |
+Define the parent image you want to use to build your own image on |
|
| 68 | 64 |
top of. Here, we'll use |
| 69 | 65 |
[CentOS](https://registry.hub.docker.com/_/centos/) (tag: `centos6`) |
| 70 | 66 |
available on the [Docker Hub](https://hub.docker.com/): |
| ... | ... |
@@ -108,7 +104,6 @@ defines your runtime, i.e. `node`, and the path to our app, i.e. `src/index.js` |
| 108 | 108 |
|
| 109 | 109 |
Your `Dockerfile` should now look like this: |
| 110 | 110 |
|
| 111 |
- # DOCKER-VERSION 0.3.4 |
|
| 112 | 111 |
FROM centos:centos6 |
| 113 | 112 |
|
| 114 | 113 |
# Enable EPEL for Node.js |