From 80e04673a08e4e794874218a0de448e03eeb3dbb Mon Sep 17 00:00:00 2001 From: Ed Beroset Date: Wed, 19 Feb 2025 07:15:31 -0500 Subject: [PATCH] Update dockerfile to use ubuntu-latest This updates to the latest ubuntu image. It also removes the deprecated "python3-distutils" and adds "python3-packaging" and "file" to the list of installed dependencies. This fixes #299 in which libmce-glib would fail to compile with a Python error "ModuleNotFoundError: No module named 'packaging'" Signed-off-by: Ed Beroset --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3a2f8f9..976deee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ -FROM ubuntu:focal +FROM ubuntu:latest # Install packages required to build AsteroidOS # And add the en_US.utf8 locale because it is required and not installed by default in minimal Ubuntu images ENV DEBIAN_FRONTEND=noninteractive -RUN apt update && apt upgrade -y && apt install -y git build-essential cpio diffstat gawk chrpath texinfo python3 python3-distutils wget shared-mime-info zstd liblz4-tool locales \ +RUN apt update && apt upgrade -y && apt install -y git build-essential cpio diffstat gawk file chrpath texinfo python3 python3-packaging wget shared-mime-info zstd liblz4-tool locales \ && rm -rf /var/lib/apt/lists/* && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 ENV LANG en_US.utf8