bug fix (Thu May 4 15:23:07 CST 2023)

This commit is contained in:
Dict Xiong 2023-05-04 15:23:07 +08:00
parent 017a25c3e5
commit bcf3839773

View File

@ -11,7 +11,7 @@ RUN cd /opt && git clone https://git.nasp.ob.ac.cn/NASP/registry \
&& curl dotfiles.cn | bash -s - -l -u root \ && curl dotfiles.cn | bash -s - -l -u root \
&& sed -i 's?root:x:0:0:root:/root:/bin/ash?root:x:0:0:root:/root:/bin/zsh?' /etc/passwd \ && sed -i 's?root:x:0:0:root:/root:/bin/ash?root:x:0:0:root:/root:/bin/zsh?' /etc/passwd \
&& sed -i 's?ssh:x:1000:1000:jumpserver user ssh:/home/ssh:/bin/ash?ssh:x:1000:1000:jumpserver user ssh:/home/ssh:/bin/bash?' /etc/passwd \ && sed -i 's?ssh:x:1000:1000:jumpserver user ssh:/home/ssh:/bin/ash?ssh:x:1000:1000:jumpserver user ssh:/home/ssh:/bin/bash?' /etc/passwd \
&& echo "RESOLV_CONF=no" > /etc/udhcpc/udhcpc.conf \ && mkdir -p /etc/udhcpc && echo "RESOLV_CONF=no" > /etc/udhcpc/udhcpc.conf \
&& echo "nameserver 192.168.16.118" > /etc/resolv.conf && echo "nameserver 192.168.16.118" > /etc/resolv.conf
EXPOSE 22 EXPOSE 22