This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install debug tools | |
RUN apt-get install -y openssh-server supervisor | |
RUN mkdir -p /var/run/sshd /var/log/supervisor | |
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf | |
RUN mkdir /root/.ssh | |
RUN echo 'YOUR-PUBLIC-KEY-HERE' >> /root/.ssh/authorized_keys | |
RUN echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config | |
EXPOSE 22/tcp | |
# Use supervisor for running processes |