-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,8 +4,7 @@ | |
FROM ubuntu:14.04 | ||
# FROM phusion/baseimage | ||
|
||
MAINTAINER Marco Zocca <zocca marco gmail> | ||
# based on `docker.openmpi` by Ole Weidner <[email protected]> | ||
MAINTAINER Ole Weidner <[email protected]> | ||
|
||
ENV USER mpirun | ||
|
||
|
@@ -15,7 +14,8 @@ ENV DEBIAN_FRONTEND=noninteractive \ | |
|
||
RUN apt-get update -y && \ | ||
apt-get upgrade -y && \ | ||
apt-get install -y --no-install-recommends openssh-server python-mpi4py python-numpy python-virtualenv python-scipy gcc gfortran openmpi-checkpoint binutils | ||
apt-get install -y --no-install-recommends openssh-server python-mpi4py python-numpy python-virtualenv python-scipy gcc gfortran openmpi-checkpoint binutils && \ | ||
apt-get clean && apt-get purge && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
RUN mkdir /var/run/sshd | ||
RUN echo 'root:${USER}' | chpasswd | ||
|