1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-28 05:36:33 +02:00
dockerfiles/redis-arm/Dockerfile

18 lines
307 B
Docker
Raw Normal View History

2016-01-16 07:54:16 +08:00
#
# Dockerfile for redis-arm
#
2016-07-19 16:34:20 +08:00
FROM easypi/alpine-arm
MAINTAINER EasyPi Software Foundation
2016-01-16 07:54:16 +08:00
RUN set -ex \
2016-07-19 16:34:20 +08:00
&& apk add --no-cache redis \
&& sed -i 's/^daemonize yes/daemonize no/' /etc/redis.conf
2016-01-16 07:54:16 +08:00
2016-01-16 12:08:37 +08:00
WORKDIR /var/lib/redis/
2016-01-16 07:54:16 +08:00
VOLUME /var/lib/redis/
EXPOSE 6379
2016-01-16 12:08:37 +08:00
CMD ["redis-server", "/etc/redis.conf"]