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

Docker build with Julia 1.11 is slow #40

Open
arlowhite opened this issue Oct 14, 2024 · 1 comment
Open

Docker build with Julia 1.11 is slow #40

arlowhite opened this issue Oct 14, 2024 · 1 comment
Assignees

Comments

@arlowhite
Copy link
Contributor

docker build . --target reefguide-src -t reefguide_1_10 --no-cache
Julia 1.10 build took 5m22s
Julia 1.11 build took 18m22s

Toward the end of the 1.11 build, these warnings are printed for every package. (not in 1.10)

Warning: Module StaticArrays with build ID ffffffff-ffff-ffff-0000-46a203311587 is missing from the cache.
This may mean StaticArrays [90137ffa-7385-5640-81b9-e52037218182] does not support precompilation but is imported by a module that does.

Fix this issue and update containers to use Julia 1.11

@pascal082
Copy link
Contributor

Fixed on 47584a2

Optimised Docker build time from 18m to 8.17m by precompiling MKL_jll and IntelOpenMP artifacts, resolving warnings and reducing startup load, and added gdal-bin, libgdal-dev, and libfftw3-dev for required geospatial dependencies

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

2 participants