-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
41 lines (28 loc) · 855 Bytes
/
Dockerfile
File metadata and controls
41 lines (28 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Get the base Ubuntu image from Docker Hub
FROM ubuntu:latest
# Update apps on the base image
RUN apt-get -y update && apt-get install -y
# Install Python
RUN apt-get -y install python3-pip
# Install iPython
RUN pip3 install ipython
# Install the Clang compiler
RUN apt-get -y install clang
# Install the g++ compiler
RUN apt-get -y install g++
# Install emacs
RUN apt-get -y install emacs
# Install gdb
RUN apt-get -y install gdb
# Install Valgrind
RUN apt-get -y install valgrind
# Install gprof
RUN apt-get -y install binutils
# Install MPI
RUN apt-get -y install mpich
# Install Python mpi4py
RUN pip3 install mpi4py
# Copy the current folder which contains C++ source code to the Docker image under /usr/src
COPY . /usr/src/dockertest1
# Specify the working directory
WORKDIR /usr/src/dockertest1