Build a naive Redis image for CentOS 5
Demostrate how to build a naive Redis image from Dockerfile.
This lab uses a pre-downloaded RPM file to minimize time to completion. Alternatives have drawbacks for this lab:
- Building from tarball source will require
makeand other dependencies.
- Installing by
yumwill require downloading packages on-the-fly.
It is just a naive demo, especially in early workshop stages. For a better Dockerfile to learn from, see official repo.