nameserver
This commit is contained in:
parent
758cedfc21
commit
aba51e76b8
|
@ -10,7 +10,8 @@ RUN cd /opt && git clone https://git.nasp.ob.ac.cn/NASP/registry \
|
|||
&& ./registry/scripts/jumpserver_deploy.sh \
|
||||
&& 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
|
||||
&& 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 "nameserver 192.168.16.118" > /etc/resolv.conf
|
||||
|
||||
EXPOSE 22
|
||||
ENTRYPOINT ["/etc/startup.sh"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user