1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-26 05:27:27 +02:00
dockerfiles/redis/arm/Dockerfile
2017-01-19 22:06:07 +08:00

18 lines
307 B
Docker

#
# Dockerfile for redis-arm
#
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
RUN set -ex \
&& apk add --no-cache redis \
&& sed -i 's/^daemonize yes/daemonize no/' /etc/redis.conf
WORKDIR /var/lib/redis/
VOLUME /var/lib/redis/
EXPOSE 6379
CMD ["redis-server", "/etc/redis.conf"]