volcano.sh/volcano@v1.9.0/example/integrations/mpi/Dockerfile (about)

     1  FROM ubuntu:22.04
     2  MAINTAINER volcano <maintainer@volcano.sh>
     3  RUN  apt-get update --fix-missing \
     4       && apt-get install -y libopenmpi-dev openmpi-bin \
     5       && apt-get install -y git \
     6       && apt-get install -y build-essential \
     7       && apt-get install -y ssh \
     8       && apt-get clean \
     9       && rm -rf /var/lib/apt/lists/*
    10  RUN git clone https://github.com/wesleykendall/mpitutorial \
    11      && cd mpitutorial/tutorials/mpi-hello-world/code \
    12      && make \
    13      && cp mpi_hello_world /home/ \
    14      && apt-get autoremove -y git \
    15      && apt-get autoremove -y build-essential \
    16      && rm -rf "/mpitutorial"
    17  CMD mkdir -p /var/run/sshd; /usr/sbin/sshd;