Public Repository

Last pushed: 2 years ago
Short Description
Ubuntu 14.04.2 LTS / Redis 3.0.2 for Clustering
Full Description

Ubuntu 14.04.2 LTS / Redis 3.0.2 Cluster

Dockerfile

FROM keks/ubuntu
MAINTAINER Jan M. <keks@keksfabrik.eu>
# Install redis 3.0.0 or later via PPA
RUN add-apt-repository -y ppa:rwky/redis && \
    apt-get update && \
    apt-get install -y redis-server && \
    rm -rf /var/lib/apt/lists/*

VOLUME  ["/data", "/redis"]
WORKDIR /data
RUN chown -R redis:redis /data && \
    chown -R redis:redis /redis
ADD     run.sh /redis-start

# redis port && redis cluster port && sentinel port (not used yet)
EXPOSE 6379 16379 26379

USER redis

ENTRYPOINT [ "/redis-start" ]

accompanying run.sh

(based on the official image, ADDed as /redis-start)

#!/usr/bin/env bash
set -e
if [ "$1" = 'redis-server' ]; then
    chown -R redis .
fi
exec "$@"

there's also older versions 3.0.0 and 3.0.1 tagged

Docker Pull Command
Owner
keks

Comments (0)