A lightweight docker image FROM debian:testing-slim
to act as a base
image for GCC, MPICH, and OpenCoarrays builds
Your Dockerfile might look like this:
FROM sourceryinstitute/docker-base:latest
COPY . /context
WORKDIR /context
RUN # build your app or apt-get install, etc.
ENTRYPOINT ["/bin/bash","-c"]
CMD ["bin/bash -l"]
#etc
See the Dockerfile reference and best practices for further details.
Then you can build and run with something like:
docker build -t my-cool-image .
docker run -it --rm --name my-cool-container my-cool-image
ca-certificates
cmake
curl
g++
gcc
gfortran
git
libtool
make
openssh-client
sudo
wget