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

Actinia docker image with latest GRASS GIS code #241

Closed
jonas-eberle opened this issue Sep 16, 2021 · 5 comments · Fixed by #470
Closed

Actinia docker image with latest GRASS GIS code #241

jonas-eberle opened this issue Sep 16, 2021 · 5 comments · Fixed by #470
Assignees
Labels
documentation related to all kinds of docs (API docs, website, ...)

Comments

@jonas-eberle
Copy link
Contributor

Hi all,

is there a possibility to run an Actinia Docker container together with a recent GRASS GIS (last commit of GRASS GIS main repository)?

There is already a Docker container with recent GRASS GIS code (grass-py3-pdal:latest-ubuntu), but I didnt't find an Actinia Dockerfile based on this image.

Thanks
Jonas

@mmacata
Copy link
Member

mmacata commented Sep 17, 2021

Hi Jonas, not out-of-the-box. The actinia build is only triggered for a release or push to main branch.
I restarted the last github action manually which did the docker builds for main branch and some jobs already run through:
For example the actinia-core image with tag g79-latest-alpine now contains

version=8.0.dev
date=2021
revision=75dd60a
build_date=2021-09-14

which is what you are looking for. If you prefer the ubuntu image, it should be pushed soon as well.

@mmacata
Copy link
Member

mmacata commented Sep 22, 2021

This could be done via GHA scheduler, but we find it is overhead to build a new actinia image e.g. every day. Usually it is feasable to have a new GRASS GIS version for new changes in actinia and anything on top can be done manually.
Therefore closing this.

@mmacata mmacata closed this as completed Sep 22, 2021
@jonas-eberle
Copy link
Contributor Author

@mmacata Thanks for the info. I think it is not necessary to have an Actinia container always with the latest GRASS GIS, but it would be good to have a Dockerfile / docker-compose that can be used/build locally with the latest GRASS GIS. Maybe this is already available, but would be great to have a documentation about this.

@mmacata
Copy link
Member

mmacata commented Sep 22, 2021

Ok, I see. A Dockerfile is available for this https://github.com/mundialis/actinia_core/tree/main/docker/actinia-core-alpine but manual steps are required:

  • change grass-py3-pdal:stable-alpine to grass-py3-pdal:latest-alpine in docker/actinia-core-alpine/Dockerfile
  • reuse docker-compose-dev.yml and replace
build:
      context: actinia-core-dev/
build:
      context: actinia-core-alpine/
  • build it with docker-compose -f docker/docker-compose-dev.yml build --pull
  • run it with docker-compose -f docker/docker-compose-dev.yml up

I will reopen this until it makes it into the documentation.

@mmacata mmacata reopened this Sep 22, 2021
@mmacata mmacata added the documentation related to all kinds of docs (API docs, website, ...) label Sep 22, 2021
@mmacata mmacata added this to New in endurance run Jan 5, 2022
@mmacata mmacata moved this from New to To do in endurance run Jan 5, 2022
@mmacata mmacata moved this from To do to next codesprint in endurance run Jan 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation related to all kinds of docs (API docs, website, ...)
Projects
No open projects
endurance run
next codesprint
Development

Successfully merging a pull request may close this issue.

2 participants