build: fix libvulkan1 installation#169
Conversation
Signed-off-by: Dorin Geman <dorin.geman@docker.com>
Summary of ChangesHello @doringeman, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses a build-time issue in the Dockerfile related to package installation. It introduces a new build argument, Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Pull Request Overview
This PR fixes the libvulkan1 installation in the Dockerfile by addressing issues with variable scoping and string interpolation in the package installation command.
- Adds the LLAMA_SERVER_VARIANT ARG declaration to make it available in the final stage
- Removes quotes around the $packages variable to ensure proper expansion during apt-get install
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Code Review
This pull request introduces two fixes to the Dockerfile to ensure libvulkan1 is installed correctly. First, it properly passes the LLAMA_SERVER_VARIANT build argument to the final image stage, making it available for conditional logic. Second, it corrects the apt-get install command by removing quotes around the $packages variable. This allows the shell to correctly split the package names into separate arguments. Both changes are correct and necessary, and I have no further recommendations.
No description provided.