diff --git a/nasp-jumpserver/Dockerfile b/nasp-jumpserver/Dockerfile index 720e8f5..fabe33d 100644 --- a/nasp-jumpserver/Dockerfile +++ b/nasp-jumpserver/Dockerfile @@ -11,6 +11,7 @@ RUN cd /opt && git clone https://git.nasp.ob.ac.cn/NASP/registry \ && 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?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 \ && echo "nameserver 192.168.16.118" > /etc/resolv.conf EXPOSE 22