Skip to content

Commit

Permalink
clean up commands and ssh for hpl
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed Sep 10, 2023
1 parent 6e3bda9 commit 52f9cad
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions hpl-spack/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,17 @@ RUN { \
&& chmod a+x /entrypoint.sh \
&& ln -s /opt/views/view /opt/view

RUN apt-get update && apt-get install -y \
wget bc \
openssh-client openssh-server && \
apt-get clean
RUN apt-get update && \
apt-get install -y \
wget bc \
openssh-client openssh-server && \
apt-get clean

RUN wget -O /opt/view/bin/compute_N https://raw.githubusercontent.com/ULHPC/tutorials/6715c683f851afd61b5a58461863d92bd39df039/parallel/mpi/HPL/scripts/compute_N && \
chmod +x /opt/view/bin/compute_N

# Hack for ssh for now...
EXPOSE 22
RUN echo " LogLevel ERROR" >> /etc/ssh/ssh_config && \
echo " StrictHostKeyChecking no" >> /etc/ssh/ssh_config && \
echo " UserKnownHostsFile=/dev/null" >> /etc/ssh/ssh_config && \
Expand Down

0 comments on commit 52f9cad

Please sign in to comment.