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

chore(Dockerfile): default to cmake from package manager #3746

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

mudler
Copy link
Owner

@mudler mudler commented Oct 7, 2024

Description

This pull request includes changes to the Dockerfile to add flexibility in how CMake is installed. The most important changes include the addition of a new argument to control whether CMake is installed from source and the modification of the installation process to respect this new argument.

Dockerfile Improvements:

  • Added ARG CMAKE_FROM_SOURCE=false to control whether CMake is installed from source or via apt-get. (Dockerfile [1] [2]
  • Modified the CMake installation process to conditionally install from source if CMAKE_FROM_SOURCE is set to true. (Dockerfile [1] [2]

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Copy link

netlify bot commented Oct 7, 2024

Deploy Preview for localai ready!

Name Link
🔨 Latest commit e8c70d3
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/6703b97e63b87e0008be4e3d
😎 Deploy Preview https://deploy-preview-3746--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mudler mudler merged commit e06daf4 into master Oct 7, 2024
31 checks passed
@mudler mudler deleted the cmake_from_package branch October 7, 2024 14:42
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.

1 participant