Changeset View
Changeset View
Standalone View
Standalone View
docker/redis/Dockerfile
FROM fedora:34 | FROM fedora:35 | ||||
ENV container docker | ENV container docker | ||||
ENV SYSTEMD_PAGER='' | |||||
RUN dnf -y install \ | RUN dnf -y install \ | ||||
--setopt 'tsflags=nodocs' \ | --setopt 'tsflags=nodocs' \ | ||||
bind-utils \ | bind-utils \ | ||||
cronie \ | cronie \ | ||||
iproute \ | iproute \ | ||||
iptables \ | iptables \ | ||||
net-tools \ | net-tools \ | ||||
procps-ng \ | procps-ng \ | ||||
redis \ | redis \ | ||||
suricata \ | |||||
vim-enhanced \ | vim-enhanced \ | ||||
wget \ | wget \ | ||||
which && \ | which && \ | ||||
dnf clean all | dnf clean all | ||||
COPY redis.conf /etc/redis.conf | COPY redis.conf /etc/redis/redis.conf | ||||
RUN systemctl enable redis | |||||
WORKDIR /root/ | WORKDIR /root/ | ||||
CMD ["/usr/bin/redis-server"] | CMD ["/usr/bin/redis-server", "/etc/redis/redis.conf"] | ||||
EXPOSE 6379/tcp |