Dockerfile 745 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. FROM debian:buster
  2. MAINTAINER Abram Connelly <abram@clementinecomputing.com>
  3. RUN \
  4. apt-get update && \
  5. apt-get -y upgrade && \
  6. apt-get clean
  7. RUN \
  8. apt-get install -y gcc perl \
  9. git openssh-server sqlite3 \
  10. default-mysql-server apache2 \
  11. netcat telnet wget
  12. RUN \
  13. apt-get install -y vim
  14. RUN \
  15. useradd -m bus && \
  16. echo 'bus:bus' | chpasswd
  17. RUN \
  18. su bus -c " cd /home/bus && \
  19. git clone https://tree.clementinecomputing.com/clementinecomputing/popufare "
  20. RUN \
  21. apt-get install -y libswitch-perl libdate-calc-perl
  22. COPY ./startup_and_persist.sh /root/startup_and_persist.sh
  23. RUN \
  24. chmod u+x /root/startup_and_persist.sh
  25. EXPOSE 80 22 443 6055 2857 7277 2455 3556 8377
  26. CMD ["/root/startup_and_persist.sh"]