File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
deployments/container/nvbandwidth Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -44,16 +44,17 @@ FROM nvcr.io/nvidia/cuda:13.0.1-base-ubuntu24.04
4444
4545ARG port=2222
4646
47+ # Installing openssh-server, install host keys in post-install as flaged by scanner
4748RUN apt-get update && apt-get install -y --no-install-recommends \
4849 openmpi-bin \
4950 openmpi-common \
5051 libopenmpi-dev \
5152 openssh-client \
5253 openssh-server \
54+ && rm -f /etc/ssh/ssh_host_* \
5355 && rm -rf /var/lib/apt/lists/*
5456
55- # Installing openssh-server, install host keys in post-install as flaged by scanner
56- RUN rm -f /etc/ssh/ssh_host_* && mkdir -p /var/run/sshd
57+ RUN mkdir -p /var/run/sshd
5758
5859# Got it from mpi-operator/build/base/Dockerfile
5960# Allow OpenSSH to talk to containers without asking for confirmation
You can’t perform that action at this time.
0 commit comments