From b1c49dd1712f9657a3b534c696de8042100c5d1f Mon Sep 17 00:00:00 2001 From: MaxDragonheart Date: Sun, 21 May 2023 11:14:01 +0200 Subject: [PATCH 1/2] feat upgrate to ubuntu 22.04 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 22f041b..2fcefd9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 # Official Ubuntu Image as Layer -FROM ubuntu:20.04 as os +FROM ubuntu:22.04 as os # LABEL about the custom image LABEL maintainer="Massimiliano Moraca " # Disable Prompt During Packages Installation @@ -37,4 +37,4 @@ RUN apt-get install -y \ # Install GDAL RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get install -y tzdata \ libgdal-dev python3-gdal gdal-bin -#CMD ["gdalinfo", "--version"] \ No newline at end of file +# CMD ["gdalinfo", "--version"] \ No newline at end of file From 124380a2c560a1999b477d19a5644f00fd1fe742 Mon Sep 17 00:00:00 2001 From: MaxDragonheart Date: Sun, 21 May 2023 11:43:09 +0200 Subject: [PATCH 2/2] feat upgrate to ubuntu 22.04 --- Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2fcefd9..2df0d6c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,8 +25,17 @@ ENV PYTHONDONTWRITEBYTECODE 1 # Prevents Python from buffering stdout and stderr ENV PYTHONUNBUFFERED 1 # Install python and upgrade pip -RUN apt-get install -y python3-pip build-essential +RUN apt-get install -y \ + python3-pip \ + python3-venv \ + python3-dev \ + build-essential \ + libssl-dev \ + libffi-dev \ + binutils RUN pip3 install --upgrade pip +# Upgrade Python's packages +RUN pip3 install --upgrade wheel # Installing Geospatial libraries RUN apt-get install -y \ libpq-dev \