Skip to content

Commit

Permalink
Specified Docker base image version
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Mahadik, Mukul Chandrakant authored and Mahadik, Mukul Chandrakant committed Oct 23, 2023
1 parent bc6b8eb commit ec14ae8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# python 3
FROM ubuntu:jammy
FROM ubuntu:jammy-20231004

MAINTAINER K. Shankari ([email protected])

Expand All @@ -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/*
Expand Down

0 comments on commit ec14ae8

Please sign in to comment.