| 1 |
# LGPLv2+ example file |
| 2 |
|
| 3 |
# This is a comment |
| 4 |
FROM ubuntu:14.04 |
| 5 |
MAINTAINER James Turnbull <[email protected]> # comment |
| 6 |
ENV REFRESHED_AT 2014-06-01 |
| 7 |
|
| 8 |
RUN apt-get -yqq update |
| 9 |
RUN apt-get install -yqq software-properties-common python-software-properties |
| 10 |
RUN add-apt-repository ppa:chris-lea/redis-server |
| 11 |
RUN apt-get -yqq update |
| 12 |
RUN apt-get -yqq install redis-server redis-tools |
| 13 |
RUN apt-get -yqq update # comment |
| 14 |
|
| 15 |
VOLUME [ "/var/lib/redis", "/var/log/redis/" ] |
| 16 |
|
| 17 |
EXPOSE 6379 |
| 18 |
|
| 19 |
CMD [] |