From 9115cd3b93725e0af0b3c903fd90e855f764b205 Mon Sep 17 00:00:00 2001 From: "Wesley D, Turner" Date: Wed, 17 Apr 2024 18:57:07 -0400 Subject: [PATCH] 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. --- dockerfiles/csci4210/ubuntu22.04/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dockerfiles/csci4210/ubuntu22.04/Dockerfile b/dockerfiles/csci4210/ubuntu22.04/Dockerfile index 1820528..05bcf1c 100644 --- a/dockerfiles/csci4210/ubuntu22.04/Dockerfile +++ b/dockerfiles/csci4210/ubuntu22.04/Dockerfile @@ -19,3 +19,15 @@ RUN apt-get update \ && apt-get -y --no-install-recommends install gcc g++ \ && rm -rf /var/lib/apt/lists/* +# Install Valgrind +RUN apt-get update \ + && apt-get -y --no-install-recommends install valgrind \ + && rm -rf /var/lib/apt/lists/* + +# Install numpy +RUN apt-get update \ + && apt-get -y --no-install-recommends install python3-pip \ + && pip3 install numpy \ + && apt-get -y remove python3-pip \ + && rm -rf /var/lib/apt/lists/* +