From d645a8a263af1ed6f1ed0f46d9aa51c645cc1fa2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 Aug 2025 05:28:54 +0000 Subject: [PATCH] fix: beginners/Writing-Dockerfile.md to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-UBUNTU2404-PERL-10285352 - https://snyk.io/vuln/SNYK-UBUNTU2404-TAR-10769052 - https://snyk.io/vuln/SNYK-UBUNTU2404-GLIBC-10321975 - https://snyk.io/vuln/SNYK-UBUNTU2404-GLIBC-10321975 - https://snyk.io/vuln/SNYK-UBUNTU2404-PAM-8303372 --- beginners/Writing-Dockerfile.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beginners/Writing-Dockerfile.md b/beginners/Writing-Dockerfile.md index c362b5bca..3fb322cd0 100644 --- a/beginners/Writing-Dockerfile.md +++ b/beginners/Writing-Dockerfile.md @@ -28,7 +28,7 @@ $ vi Dockerfile #### Setting a Base Image using FROM keyword ``` -FROM ubuntu +FROM ubuntu:24.10 ``` Thus, our image would start building taking base as Ubuntu. @@ -85,7 +85,7 @@ Benefit of this is that user can choose some other file to run with the same app So, our overall Dockerfile currently looks like this: ``` -FROM ubuntu +FROM ubuntu:24.10 MAINTAINER Prashansa Kulshrestha RUN apt-get update RUN apt-get install -y python