From 463164daf8beddf88b880cec0dfb0db7bb8ba7aa Mon Sep 17 00:00:00 2001 From: "David J. Malan" Date: Sat, 5 Oct 2024 18:51:21 -0400 Subject: [PATCH] parameterized Ubuntu version --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 179de99..6cc5f54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,8 @@ +# Ubuntu version +ARG RELEASE=24.04 + # Build stage -FROM ubuntu:24.04 as builder +FROM ubuntu:${RELEASE} as builder # Build-time variables @@ -126,7 +129,7 @@ RUN cd /tmp && \ # Final stage -FROM ubuntu:24.04 +FROM ubuntu:${RELEASE} LABEL maintainer="sysadmins@cs50.harvard.edu" ARG DEBIAN_FRONTEND=noninteractive