2
0

Dockerfile 640 B

12345678910111213
  1. FROM debian:buster
  2. RUN apt-get update && apt-get install -y systemd rsh-redone-server ifupdown sudo kmod
  3. RUN echo "host" > /root/.rhosts && \
  4. chmod 600 /root/.rhosts && \
  5. /bin/echo -e "auto eth0\niface eth0 inet static\naddress 254.255.255.2/24" > /etc/network/interfaces.d/eth0 && \
  6. sed -i '/pam_securetty/d' /etc/pam.d/rlogin && \
  7. cp /usr/share/systemd/tmp.mount /etc/systemd/system && \
  8. systemctl enable tmp.mount
  9. RUN echo "deb http://deb.debian.org/debian experimental main" >> /etc/apt/sources.list && \
  10. apt-get update && \
  11. apt-get install -y make && \
  12. apt-get install -y -t experimental cgroup-tools