Skip to content

Commit

Permalink
New Branch for Ubuntu dockerfile on github
Browse files Browse the repository at this point in the history
  • Loading branch information
metahertz committed Jan 18, 2019
1 parent a4c2873 commit d8a7d50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions labs/docker-101/3.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ Next we'll build our own Ubuntu Docker image instead of using the one from Docke

1. __Download the files__. Begin by downloading the Ubuntu Dockerfile and its dependencies.
```
git clone --single-branch https://github.com/tianon/docker-brew-ubuntu-core.git
git clone --single-branch --branch dist-amd64 https://github.com/tianon/docker-brew-ubuntu-core.git
```

2. __Check the Dockerfile__. Change directory to the cloned repository and ensure that the Dockerfile is present.
```
cd docker-brew-ubuntu-core/xenial
ls .
```

3. __Build a new image using Docker and the Dockerfile__.
```
docker build .
Expand Down Expand Up @@ -76,7 +76,7 @@ following Python code:
``` python
#!/usr/bin/env python

print("Hello from DevNET at Cisco LIVE! Europe 2017!")
print("Hello from your friends at DEVNET!!")
```

The Dockerfile contains the instructions needed to build the custom
Expand All @@ -96,7 +96,7 @@ This Dockerfile says:
Extend the existing ubuntu public docker image. Our previous
examples built an image from scratch. In this case we begin with a
previously-built container image and extend with our own
customizations.
customisations.

2. `RUN apt-get update`
Ensure the package-management tools in the base Ubuntu container
Expand Down

0 comments on commit d8a7d50

Please sign in to comment.