nasp.ob.ac.cn -> nasp.fit

This commit is contained in:
Dict Xiong 2024-04-16 00:33:19 +08:00
parent b761687fe7
commit 18a3898865
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ COPY sshd_config /etc/ssh/sshd_config
COPY ssh_config /etc/ssh/ssh_config COPY ssh_config /etc/ssh/ssh_config
COPY startup.sh /etc/startup.sh COPY startup.sh /etc/startup.sh
RUN cd /opt && git clone https://git.nasp.ob.ac.cn/NASP/registry \ RUN cd /opt && git clone https://git.nasp.fit/NASP/registry \
&& ./registry/scripts/jumpserver_deploy.sh \ && ./registry/scripts/jumpserver_deploy.sh \
&& 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 \

View File

@ -3,11 +3,11 @@
Tag: Tag:
``` ```
git.nasp.ob.ac.cn/nasp/nasp-jumpserver git.nasp.fit/nasp/nasp-jumpserver
``` ```
To run: To run:
``` ```
docker run -itd --restart=always -p 36022:22 git.nasp.ob.ac.cn/nasp/nasp-jumpserver:latest docker run -itd --restart=always -p 36022:22 git.nasp.fit/nasp/nasp-jumpserver:latest
``` ```