geocompx / docker

Dockerfiles for Geocomputation
https://github.com/geocompx/docker/pkgs/container/docker
GNU General Public License v3.0
40 stars 6 forks source link

Julia-based images #69

Open Robinlovelace opened 1 month ago

Robinlovelace commented 1 month ago
asinghvi17 commented 1 month ago

Looks like there are still a few problems if you manage the Julia version via pixi: https://discourse.julialang.org/t/managing-julia-versions-using-pixi/116165/16

Robinlovelace commented 1 month ago

Interesting, seems there are a good few Julia projects here: https://pixi.sh/v0.16.1/Community/ some of which are by @evetion none of them use Docker or devcontainers as far as I can see though.

Robinlovelace commented 1 month ago

Pure Julia version doesn't need to use Pixi. rpyjl version: probably worthwhile but open to ideas!

asinghvi17 commented 1 month ago

Hmm...a pure Julia image would be pretty easy then! Is it easy to automatically update?

Robinlovelace commented 1 month ago

Yes, if you supply a Dockerfile we can handle the auto-deployment, just a julia.yml file in the .github/workflows folder should do it.

evetion commented 1 month ago

Interesting, seems there are a good few Julia projects here: https://pixi.sh/v0.16.1/Community/ some of which are by @evetion none of them use Docker or devcontainers as far as I can see though.

Correct, pixi is easier to install than docker and it does everything for us, using the tasks feature. The notable exception is testing our QGIS plugin, which is done in Docker.

Robinlovelace commented 1 month ago

I wonder to what extent pixi could replace Docker, with possible resource savings.

Robinlovelace commented 1 month ago

This is now working!

image

See commits above and below.

Robinlovelace commented 1 month ago

Maps looking good:

image