-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix BASE_IMAGE Issue and Optimise Docker Build Time to 8.3m with Prec…
…ompilation (#47) * Fix BASE_IMAGE not working #35 * Fix: Remove MKL_jll-related warnings and reduce Docker build time - Added explicit installation and precompilation of MKL_jll in the Dockerfile to resolve warnings about missing precompiled modules during container startup. - Precompiled MKL_jll and IntelOpenMP artifacts during the build phase, significantly reducing precompilation time from 18 minutes to 9 minutes by avoiding on-the-fly precompilation. - The time reduction is attributed to precompiling MKL_jll in advance, preventing the heavy processing load that would otherwise occur during runtime. - Added gdal-bin, libgdal-dev, and libfftw3-dev to the Dockerfile to support system dependencies required for geospatial and scientific computations. * Simplify Dockerfile by consolidating Project.toml and Manifest.toml copy commands * Added step to pre-download MKL_jll using version from Manifest.toml and cache it before main package precompilation. * Add explicit MKL_jll dependency Seeing if this resolves horrendous build times * Trying out approach to derive dep separately so we can not invalidate cache for base MKL dep Signed-off-by: Peter Baker <[email protected]> Co-authored-by: Pascal Omondiagbe <[email protected]> Co-authored-by: Takuya Iwanaga <[email protected]> Co-authored-by: Peter Baker <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
1bbe34b
commit adf7ddc
Showing
4 changed files
with
31 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters