Skip to content

Commit 9115cd3

Browse files
authored
Adding in some required utilties (#23)
* Adding in some required utilties For the simulation next semester, it would be useful to let the students have access to numpy as a math manipulation package. I also need to have valgrind as we move to more use of docker as our preferred way to run the grader. This should handle both of the issues. * Responding to PR Good point. This should remove pip.
1 parent fcab211 commit 9115cd3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

dockerfiles/csci4210/ubuntu22.04/Dockerfile

+12
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,15 @@ RUN apt-get update \
1919
&& apt-get -y --no-install-recommends install gcc g++ \
2020
&& rm -rf /var/lib/apt/lists/*
2121

22+
# Install Valgrind
23+
RUN apt-get update \
24+
&& apt-get -y --no-install-recommends install valgrind \
25+
&& rm -rf /var/lib/apt/lists/*
26+
27+
# Install numpy
28+
RUN apt-get update \
29+
&& apt-get -y --no-install-recommends install python3-pip \
30+
&& pip3 install numpy \
31+
&& apt-get -y remove python3-pip \
32+
&& rm -rf /var/lib/apt/lists/*
33+

0 commit comments

Comments
 (0)