8000 Ubuntu: Update Ubuntu Docker image to latest GRASS base by ninsbl · Pull Request #118 · actinia-org/actinia-docker · GitHub
[go: up one dir, main page]

Skip to content

Ubuntu: Update Ubuntu Docker image to latest GRASS base - #118

Merged
mmacata merged 21 commits into
actinia-org:mainfrom
ninsbl:ubuntu_layered
Oct 13, 2026
Merged

mmacata merged 21 commits into
actinia-org:mainfrom
ninsbl:ubuntu_layered

Conversation

@ninsbl
@ninsbl ninsbl commented Oct 20, 2025
Copy link
Copy Markdown
Contributor

This PR aligns the Dockerfile for actinia Ubuntu Images with the latest GRASS Dockerfile for Ubuntu images that are based on Ubuntu 24.04.
Currently, it does not work for the latest release branch (I guess) as Dockerfiles and images differ significantly. So this PR should be merged first when OSGeo/grass#6532 is addressed.

The changes here address

  • some vulnerabilities in the underlying dependencies,
  • implement build in stages (e.g. different layers for addons and SNAP),
  • update ESA SNAP version to SNAP 12.0,
  • cleans backup data after ESA SNAP update (~450 MB),
  • reduce build time for addon compilation, and
  • add OCI labels.

I am happy to receive feedback on this one while OSGeo/grass#6532 is in the making...

@ninsbl
ninsbl commented Oct 23, 2025
Copy link
Copy Markdown
Contributor Author

See: OSGeo/grass#6540

@ninsbl
ninsbl commented Oct 26, 2025
Copy link
Copy Markdown
Contributor Author

OK, now we have the updated GRASS image for the releasebranch: https://hub.docker.com/layers/osgeo/grass-gis/releasebranch_8_4-ubuntu/images/sha256-c7dcd077454bd049007502eab60e6aa3fb00cfadd6f67be19a93548339e5a5e1

That said, an actinia version based on the GRASS main branch would be great to have biild in CI too...

@ninsbl
ninsbl commented Oct 30, 2025
Copy link
Copy Markdown
Contributor Author

BTW, would you be open for CI-builds of images with an OS matrix (apline + ubuntu) or are the quota limitations on your docker.hub that prevent it? It would be ideal for my use-case to have prebuild Ubuntu images...

@neteler
neteler commented Dec 13, 2025
Copy link
Copy Markdown
Member

BTW, would you be open for CI-builds of images with an OS matrix (apline + ubuntu) or are the quota limitations on your docker.hub that prevent it? It would be ideal for my use-case to have prebuild Ubuntu images...

I think that's fine, we didn't run into quota limitations (yet).

@mmacata
mmacata commented Dec 18, 2025
8000
Copy link
Copy Markdown
Member

Would there be two different Dockerfiles for Ubuntu needed? Or is it simply the replacement of the GRASS GIS base image? I`m asking because for alpine I would like to keep it as simple as possible, maintaining only one Dockerimage. That doesn't mean it has to be the same way for Ubuntu though.

@ninsbl
ninsbl commented Dec 22, 2025
Copy link
Copy Markdown
Contributor Author

Would there be two different Dockerfiles for Ubuntu needed? Or is it simply the replacement of the GRASS GIS base image? I`m asking because for alpine I would like to keep it as simple as possible, maintaining only one Dockerimage. That doesn't mean it has to be the same way for Ubuntu though.

It is in principle a replacement of the GRASS base image. Not sure if main and releasebranch are similar enough to exchange them at a later point (or how to do that). So, for my limited understanding of docker I would say two Ubuntu images would be ideal, but as you say, that can be different for alpine. See also: https://github.com/OSGeo/grass/pull/6800/files For an attempt on a matrix build with different build-args for different OSes...

@mmacata mmacata left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for all the updates!
This MR is ready to be merged from my point of view.
Regarding automated CI build - I am very open to have this for ubuntu as well and also happy to support!

@neteler
neteler commented Sep 8, 2026
Copy link
Copy Markdown
Member

I tried to rebase this PR but get this error:

Refined GitHub
Error updating the branch: GraphQL: refusing to allow a Personal Access Token to create or update workflow .github/workflows/docker-scheduled.yml without workflow scope

@mmacata
mmacata commented Sep 9, 2026
Copy link
Copy Markdown
Member

I tried to rebase this PR but get this error:

Did you try it locally ? Then your token might need to have the workflow scope. But I think merging would be possible without a rebase!?

@mmacata
mmacata commented Oct 2, 2026
Copy link
Copy Markdown
Member

@ninsbl is this ready to be merged?

@ninsbl
ninsbl commented Oct 5, 2026
Copy link
Copy Markdown
Contributor Author

I just updated to latest version, esp. Ubuntu 26.04 which will be OS of the latest GRASS docker image. Should be good to merge now...

@mmacata
mmacata merged commit 16f2be9 into actinia-org:main Oct 13, 2026
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

Successfully merging this pull request may close these issues.

3 participants

0