Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binocarlos/docker-redis
Dockerfile to build redis
https://github.com/binocarlos/docker-redis
Last synced: 11 days ago
JSON representation
Dockerfile to build redis
- Host: GitHub
- URL: https://github.com/binocarlos/docker-redis
- Owner: binocarlos
- Created: 2013-12-21T13:40:11.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-12T00:41:08.000Z (almost 11 years ago)
- Last Synced: 2024-04-14T14:36:38.966Z (7 months ago)
- Language: Shell
- Size: 133 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
docker-redis
============Dockerfile to build redis
```
FROM ubuntu:12.04# Update package repository
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe multiverse" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get upgrade -yRUN apt-get install -y python-software-properties
# Init latest redis-server
RUN add-apt-repository -y ppa:chris-lea/redis-server
RUN apt-get update
RUN apt-get install -y redis-server# we create this for the redis data so it is commong across services
RUN mkdir -p /data/dbADD ./redis.conf /etc/redis.conf
ENTRYPOINT ["/usr/bin/redis-server", "/etc/redis.conf"]
```