Dockerfile 810 B

123456789101112131415161718
  1. #Uncomment the following line for regular x86 systems
  2. FROM debian:11-slim
  3. #Uncomment the following line for the raspberry pi
  4. #FROM resin/rpi-raspbian:jessie
  5. MAINTAINER dustyfresh, https://github.com/dustyfresh
  6. RUN apt-get update && apt-get -y install ngircd vim tor build-essential libssl-dev python3-setuptools python3-pip supervisor
  7. ADD ./ssl/server.crt /etc/ngircd/server.crt
  8. ADD ./ssl/server.key /etc/ngircd/server.key
  9. ADD ./conf/supervise-ngircd.conf /etc/supervisor/conf.d/supervise-ngircd.conf
  10. ADD ./conf/supervise-tor.conf /etc/supervisor/conf.d/supervise-tor.conf
  11. ADD ./conf/rsyslog.conf /etc/rsyslog.conf
  12. ADD ./conf/ngircd.motd /etc/ngircd/ngircd.motd
  13. ADD ./conf/ngircd.conf /etc/ngircd/ngircd.conf
  14. ADD ./conf/torrc /etc/tor/torrc
  15. RUN chown -R irc:irc /etc/ngircd
  16. CMD ["/usr/bin/supervisord", "-n"]