Spotter-VM/lxc-services/redis/image

15 lines
346 B
Plaintext
Raw Normal View History

2019-09-18 11:29:58 +02:00
IMAGE redis_4.0.12-190620
FROM alpine3.11_3.11.3-200313
2018-09-05 17:41:38 +02:00
2018-09-12 16:08:10 +02:00
RUN EOF
2018-09-05 17:41:38 +02:00
# Create OS user (which will be picked up later by apk add)
addgroup -S -g 6379 redis
adduser -S -u 6379 -h /var/lib/redis -s /bin/false -g redis -G redis redis
# Install Redis
apk --no-cache add redis
2018-09-12 16:08:10 +02:00
EOF
2018-09-05 17:41:38 +02:00
USER redis
CMD /usr/bin/redis-server /etc/redis.conf