-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from MaxDragonheart/feat_ubuntu_22.04
Feat ubuntu 22.04
- Loading branch information
Showing
1 changed file
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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"] | ||
# CMD ["gdalinfo", "--version"] |