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
gcc
,make
and other dependencies. - Installing by
yum
will 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.
Redis:
-
Rpmfind:
remi
-
RPM file: redis-2.8.19-1.el5.remi.x86_64.rpm
jemalloc:
-
Rpmfind:
EPEL
-
RPM file: jemalloc-3.6.0-2.el5.x86_64.rpm