From 36e73aef15c97fa3e4bf3dc59e48ac2ec995adcc Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 30 Sep 2025 19:47:40 +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-GLIBC-11031045 - https://snyk.io/vuln/SNYK-UBUNTU2404-GLIBC-11031045 - https://snyk.io/vuln/SNYK-UBUNTU2404-PAM-8352843 - https://snyk.io/vuln/SNYK-UBUNTU2404-PAM-8352843 - https://snyk.io/vuln/SNYK-UBUNTU2404-PAM-8352843 --- 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