FROM postfix
RUN apt update
RUN apt install -y memcache
#RUN echo "bind 0.0.0.0" >> /etc/redis/redis.conf
#RUN sed -e 's/protected-mode yes/protected-mode no/g' -i /etc/redis/redis.conf
#RUN mkdir /var/log/redis -p
#RUN chown redis:redis /var/log/redis
COPY run.sh /root
RUN chmod a+x /root/run.sh
CMD ['/bin/bash','/root/run.sh']
