Dockerfile 331 B

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