Public Repository

Last pushed: 2 years ago
Short Description
ontouchstart/rpi-redis
Full Description

Dockerfile

FROM ontouchstart/rpi-base
MAINTAINER Sam Liu <ontouchstart@gmail.com>

RUN apt-get update
RUN apt-get install -y tcl
RUN cd / && git clone https://github.com/antirez/redis.git
RUN cd /redis && make install
RUN redis-server --version
RUN redis-cli --version
ENV HOME /home
WORKDIR /home

Example

Redis server v=3.1.999 sha=c77081a4:0 malloc=jemalloc-3.6.0 bits=32 build=c3f40b092d334705
root@jessie-rpi:~# docker run --rm -v $(pwd)/home:/home -it ontouchstart/rpi-redis redis-cli --version
redis-cli 3.1.999 (git:c77081a4)
Docker Pull Command
Owner
ontouchstart

Comments (0)