2022-05-24 23:36:14 +08:00
|
|
|
FROM alpine:3.16
|
2022-01-17 15:56:05 +08:00
|
|
|
LABEL description="Redis for use with gitea"
|
|
|
|
LABEL maintainer="racken@one27.cf"
|
|
|
|
ENV container docker
|
|
|
|
RUN apk add bash tini redis
|
|
|
|
RUN sed -i -e 's/^bind.*/bind 0.0.0.0/g' -e 's/^protected-mode.*/protected-mode no/g' -e 's/^timeout.*/timeout 60/g' /etc/redis.conf
|
|
|
|
ENTRYPOINT ["/sbin/tini", "--", "/usr/bin/redis-server", "/etc/redis.conf"]
|