Browse code

Update Ubuntu image tag to 14.04

`apt-get update` for non-supported 12.10 doesn't work.
Building failed with
```
INFO[0011] The command [/bin/sh -c apt-get update && apt-get install -y redis-server] returned a non-zero code: 100
```

Signed-off-by: Evgeny Vereshchagin <evvers@ya.ru>

Evgeny Vereshchagin authored on 2015/01/08 00:12:02
Showing 1 changed files
... ...
@@ -12,7 +12,7 @@ using a link.
12 12
 Firstly, we create a `Dockerfile` for our new Redis
13 13
 image.
14 14
 
15
-    FROM        ubuntu:12.10
15
+    FROM        ubuntu:14.04
16 16
     RUN         apt-get update && apt-get install -y redis-server
17 17
     EXPOSE      6379
18 18
     ENTRYPOINT  ["/usr/bin/redis-server"]
... ...
@@ -43,7 +43,7 @@ created with an alias of `db`. This will create a secure tunnel to the
43 43
 `redis` container and expose the Redis instance running inside that
44 44
 container to only this container.
45 45
 
46
-    $ sudo docker run --link redis:db -i -t ubuntu:12.10 /bin/bash
46
+    $ sudo docker run --link redis:db -i -t ubuntu:14.04 /bin/bash
47 47
 
48 48
 Once inside our freshly created container we need to install Redis to
49 49
 get the `redis-cli` binary to test our connection.