mirror of
https://github.com/tuna/tunasync.git
synced 2025-04-21 04:42:46 +00:00
9 lines
466 B
Docker
9 lines
466 B
Docker
FROM debian:bullseye
|
|
RUN apt-get update && apt-get install -y systemd rsh-redone-server ifupdown sudo kmod cgroup-tools systemd-sysv
|
|
RUN echo "host" > /root/.rhosts && \
|
|
chmod 600 /root/.rhosts && \
|
|
/bin/echo -e "auto eth0\niface eth0 inet static\naddress 254.255.255.2/24" > /etc/network/interfaces.d/eth0 && \
|
|
sed -i '/pam_securetty/d' /etc/pam.d/rlogin && \
|
|
cp /usr/share/systemd/tmp.mount /etc/systemd/system && \
|
|
systemctl enable tmp.mount
|