Skip to content

Latest commit

 

History

History
 
 

build-redis-el5

Build a naive Redis image for CentOS 5

Purpose

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.

Package

Redis:

jemalloc: