You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
870 B
29 lines
870 B
4 years ago
|
#FROM nlknguyen/alpine-mpich:onbuild
|
||
|
FROM localhost:5000/mpi
|
||
|
|
||
|
# # ------------------------------------------------------------
|
||
|
# # Build MPI project
|
||
|
# # ------------------------------------------------------------
|
||
|
|
||
|
# Put all build steps and additional package installation here
|
||
|
|
||
|
# Note: the current directory is ${WORKDIR:=/project}, which is
|
||
|
# also the default directory where ${USER:=mpi} will SSH login to
|
||
|
|
||
|
# Copy the content of `project` directory in the host machine to
|
||
|
# the current working directory in this Docker image
|
||
|
#COPY project/ .
|
||
|
WORKDIR /project
|
||
|
|
||
|
# Normal build command
|
||
|
#RUN mpicc -o mpi_hello_world mpi_hello_world.c
|
||
|
|
||
|
# ####################
|
||
|
# For Docker beginner:
|
||
|
|
||
|
# After Docker syntax `RUN`, you can execute any command available in
|
||
|
# the current shell of the image.
|
||
|
|
||
|
# To switch to root: USER root
|
||
|
# To switch back to default user: USER ${USER}
|