Skip to content

Commit

Permalink
fix: sshd_config (#126)
Browse files Browse the repository at this point in the history
Need to append text onto a new line
  • Loading branch information
vexingly authored Aug 23, 2024
1 parent 432d38f commit 04470dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mpi-operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ WORKDIR /home/mpiuser

# Configurations for running sshd as non-root.
COPY --chown=mpiuser sshd_config .sshd_config
RUN echo "Port $port" >> /home/mpiuser/.sshd_config
RUN echo -e "\nPort $port" >> /home/mpiuser/.sshd_config

# Stepdown to non-root user
USER mpiuser

SHELL ["/bin/bash"]

# default command check MPIEXEC verson, when used as a kubernetes container override with custom mpiexec execution
CMD mpiexec -V && ulimit -S -s
CMD mpiexec -V && ulimit -S -s

0 comments on commit 04470dd

Please sign in to comment.