From 4873788e2d7f978381b5bf2494120b3ac8e495d6 Mon Sep 17 00:00:00 2001 From: ptweezy Date: Sun, 15 Dec 2024 15:52:08 -0500 Subject: [PATCH] Dockerfile Update (#2372) * removing due to deprecation * addressing docker build console issues, updating to latest LTS ubuntu, addressing Ubuntu + Python .venv requirements, standardizing environment * Update Dockerfile --------- Co-authored-by: BuildTools Co-authored-by: Parker --- Dockerfile | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 70deb0ea4d..5d0b51cbd5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,7 @@ -FROM ubuntu:22.04 as build +FROM ubuntu:24.04 AS build + ENV TZ=UTC +ENV LANG=C.UTF-8 RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \ apt-get update && \ @@ -19,14 +21,8 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone & apt-get clean && \ rm -rf /var/lib/apt/lists/* -RUN python3 -m pip install --user colorama ansiwrap attrs watchdog python-Levenshtein "mapfile-parser>=1.2.1,<2.0.0" "rabbitizer>=1.0.0,<2.0.0" -RUN python3 -m pip install --upgrade attrs pycparser -ENV LANG C.UTF-8 - -RUN mkdir /oot WORKDIR /oot - RUN git config --global --add safe.directory /oot CMD ["/bin/sh", "-c", \