Skip to content

Commit

Permalink
Merge pull request #4 from MaxDragonheart/feat_ubuntu_22.04
Browse files Browse the repository at this point in the history
Feat ubuntu 22.04
  • Loading branch information
MaxDragonheart authored May 21, 2023
2 parents 5e39963 + 124380a commit 3d30ecf
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"
# Disable Prompt During Packages Installation
Expand All @@ -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 \
Expand All @@ -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"]
# CMD ["gdalinfo", "--version"]

0 comments on commit 3d30ecf

Please sign in to comment.