openssh-client openssh-server add

This commit is contained in:
mm644706215
2025-01-18 22:33:58 +08:00
parent 085ebcb84f
commit e86a858ede

View File

@@ -248,6 +248,10 @@ ENV MODULEPATH=/opt/modulefiles/boost:$MODULEPATH
# Set working directory
WORKDIR /root
RUN <<EOT
#!/bin/bash
apt update && apt install -y --no-install-recommends openssh-client openssh-server
EOT
# Start SSH service by default
CMD ["/usr/sbin/sshd", "-D"]