Untitled

mail@pastecode.io avatar
unknown
dockerfile
5 months ago
481 B
6
Indexable
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