nasp-jumpserver (latest)

Published 2024-04-16 00:51:11 +08:00 by gitadmin

Installation

docker pull git.nasp.fit/nasp/nasp-jumpserver:latest
sha256:2dde3c73438a7ee5dea6d4a6a8ef37093d80b6f0da1d7bf6c63e8f94c47f04a5

Image Layers

ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in /
CMD ["/bin/sh"]
RUN /bin/sh -c apk add --no-cache openssh git sudo tmux vim bash zsh curl wget coreutils util-linux tzdata shadow iputils && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone # buildkit
COPY sshd_config /etc/ssh/sshd_config # buildkit
COPY ssh_config /etc/ssh/ssh_config # buildkit
COPY startup.sh /etc/startup.sh # buildkit
RUN /bin/sh -c cd /opt && git clone https://git.nasp.fit/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 # buildkit
EXPOSE map[22/tcp:{}]
ENTRYPOINT ["/etc/startup.sh"]
Details
Container
2024-04-16 00:51:11 +08:00
2
OCI / Docker
linux/amd64
37 MiB
Versions (1) View all
latest 2024-04-16