mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-08 04:04:18 +02:00
18 lines
307 B
Docker
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"]
|