diff --git a/Dockerfile b/Dockerfile index 22f041b..2df0d6c 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 @@ -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 \ @@ -37,4 +46,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