1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-10 04:19:24 +02:00
dockerfiles/redis-arm/Dockerfile

19 lines
335 B
Docker
Raw Normal View History

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