Untitled
FROM debian:latest WORKDIR /tmp RUN apt update && apt upgrade RUN apt-get -y install net-tools htop screen tshark vim sngrep curl wget openssh-server openssh-client ssh COPY freepbx-install.sh /tmp/freepbx-install.sh RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config RUN service ssh restart RUN /bin/bash /tmp/freepbx-install.sh RUN cat /var/log/pbx/freepbx17-install-*.log EXPOSE 22/tcp EXPOSE 80/tcp EXPOSE 8332/tcp EXPOSE 5060/udp EXPOSE 5061/udp EXPOSE 22000-23000/udp
Leave a Comment