1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:34 +02:00
dockerfiles/redis-arm/Dockerfile
2016-05-01 09:06:20 +08:00

19 lines
333 B
Docker

#
# Dockerfile for redis-arm
#
FROM vimagick/alpine-arm
MAINTAINER kev <noreply@easypi.info>
RUN set -ex \
&& apk add -U redis \
&& sed -i 's/^daemonize yes/daemonize no/' /etc/redis.conf \
&& rm -rf /var/cache/apk/*
WORKDIR /var/lib/redis/
VOLUME /var/lib/redis/
EXPOSE 6379
CMD ["redis-server", "/etc/redis.conf"]