Public | Automated Build

Last pushed: a year ago
Dockerfile
FROM openshift/base-centos7 ENV REDIS_VERSION=3.0.7 \ HOME=/ \ REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-3.0.7.tar.gz \ REDIS_DOWNLOAD_SHA1=e56b4b7e033ae8dbf311f9191cf6fdf3ae974d1c LABEL io.k8s.description="Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker." \ io.k8s.display-name="Redis 3.0.7" \ io.openshift.expose-services="6379:redis" \ io.openshift.tags="cache,nosql,redis" # for redis-sentinel see: http://redis.io/topics/sentinel RUN wget "$REDIS_DOWNLOAD_URL" -O redis.tar.gz && \ echo "$REDIS_DOWNLOAD_SHA1 redis.tar.gz" | sha1sum -c - && \ mkdir -p /usr/src && \ tar -xzf redis.tar.gz -C /usr/src && \ mv "/usr/src/redis-$REDIS_VERSION" /usr/src/redis && \ rm redis.tar.gz && \ make -C /usr/src/redis && \ make -C /usr/src/redis install && \ rm -r /usr/src/redis && \ mkdir -p /var/lib/redis/data && \ chmod g+w /var/lib/redis/data COPY container-entrypoint /usr/bin/ EXPOSE 6379 USER 1001 ENTRYPOINT ["container-entrypoint"] CMD [ "redis-server" ]
Source Repository