Skip to content

Commit

Permalink
fix: use entrypoint that will run ldconfig
Browse files Browse the repository at this point in the history
We need ldconfig to be run because the nvidia
container runtime requires the location
of the various driver libraries.

Signed-off-by: Chris Goller <[email protected]>
  • Loading branch information
goller committed Aug 6, 2024
1 parent 449d5e9 commit 3228cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/fly/buildkit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export async function launchBuildkitGPUMachine(buildkit: BuildkitMachineRequest)
raw_value: Buffer.from(raw_value).toString('base64'),
})),
init: {
entryPoint: ['/usr/bin/machine-agent'],
entryPoint: ['/usr/bin/entrypoint.sh'],
},
env,
image,
Expand Down

0 comments on commit 3228cf2

Please sign in to comment.