Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Ubuntu version #3

Open
lucadelu opened this issue Nov 2, 2023 · 7 comments
Open

Update Ubuntu version #3

lucadelu opened this issue Nov 2, 2023 · 7 comments

Comments

@lucadelu
Copy link

lucadelu commented Nov 2, 2023

Dear @davidfrantz,

do you have any plan to update Ubuntu version to last LTS?

@davidfrantz
Copy link
Owner

Hi @lucadelu,

yes, but I likely wait until the next LTS in spring.

Cheers,
David

@lucadelu
Copy link
Author

I'm using FORCE dockerfile and I need to use also GDAL and the default version of Focal is quite old (and some commands seem to be buggy)....what do you think to add also ubuntugis PPA (it has a more fresh GDAL version) to this Dockerfile ?

@davidfrantz
Copy link
Owner

Hi @lucadelu,

GDAL is a very important library in FORCE and sticking to the less frequently updated Ubuntu repository has quite some advantages in providing a stable release. Thus, I likely will not include the ubuntugis PPA.

What is the exact reason for needing the latest GDAL in FORCE?

Cheers,
David

@lucadelu
Copy link
Author

lucadelu commented Dec 4, 2023

Hi @davidfrantz,

Ok I understand about ubuntugis, I need an updated version (not the latest) because in my procedure I use gdal_calc.py, and the version of 3.0.4 seems to be bugged (or with less feature the newer one, I tested with GDAL 3.4.*).

@davidfrantz
Copy link
Owner

in this case I recommend to use an image from osgeo/gdal for this task. I usually do this, too, when I need some newer feature, and only need the CLI tools.

@lucadelu
Copy link
Author

Hi @davidfrantz,

I created a dockerfile to compile FORGE in Ubuntu 22.04, I attach it if it could be useful for you or someone else.
Everything seems to work properly..

Best
Luca

force_dockerfile.txt

pjonsson added a commit to pjonsson/base_image that referenced this issue Dec 2, 2024
Switch to Ubuntu 24.04, bump some
versions of dependencies, and use
some of the packages from Ubuntu
instead of building OpenCV manually.

There is also an ubuntu user/group
by default in the base image, so
use that instead of creating
a separate docker user like before.

Refs davidfrantz#3
pjonsson added a commit to pjonsson/base_image that referenced this issue Dec 2, 2024
Switch to Ubuntu 24.04, bump some
versions of dependencies, and use
some of the packages from Ubuntu
instead of building OpenCV manually.

There is also an ubuntu user/group
by default in the base image, so
use that instead of creating
a separate docker user like before.

Refs davidfrantz#3
@pjonsson
Copy link

For those that are in a hurry, I put up pull requests for upgrading the base image to Ubuntu 24.04 last week in #4. and the corresponding updates required to build Force (davidfrantz/force#336).

There are a lot of things in the image, so it's possible something is broken. If someone tries the pull requests and finds a problem caused by the update to Ubuntu 24.04, I'll try to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants