From ec14ae8373e72301f3a433be4b7bf96f6fb9c36a Mon Sep 17 00:00:00 2001 From: "Mahadik, Mukul Chandrakant" Date: Mon, 23 Oct 2023 15:59:20 -0700 Subject: [PATCH] Specified Docker base image version Previously, generic latest version of official Ubuntu docker image was being used. Can use latest versioned image, whichever is the latest available one with low vulnerabilities and packages upgraded to required versions. Ubuntu docker images found here: https://hub.docker.com/_/ubuntu/tags --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f7db7114f..9ede21298 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # python 3 -FROM ubuntu:jammy +FROM ubuntu:jammy-20231004 MAINTAINER K. Shankari (shankari@eecs.berkeley.edu) @@ -16,8 +16,6 @@ RUN apt-get install -y -qq wget # install jq to parse json within bash scripts RUN apt-get install -y jq -RUN apt-get -y -qq update && apt-get -y -qq upgrade - # cleanup RUN apt-get -y remove --purge build-essential RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*