-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up buildconfigs for the nvidia system image
Bug: 289334314 Change-Id: If96137473471c8c728dc99f9660fafb64a46e23e
- Loading branch information
Showing
7 changed files
with
36 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
# | ||
# Build configuration for oak_containers_nvidiasystem_image. | ||
# | ||
export PACKAGE_NAME=oak_containers_nvidia_system_image | ||
|
||
export BUILD_COMMAND=( | ||
nix | ||
develop | ||
.#systemImageProvenance | ||
--command | ||
just | ||
oak_containers_nvidia_system_image | ||
) | ||
|
||
export SUBJECT_PATHS=( | ||
oak_containers_system_image/target/nvidia_image.tar.xz | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This is the static build configuration that we use with the docker-based SLSA3 generator for | ||
# building the system image that includes nvidia drivers, and its provenance. | ||
# See https://github.com/slsa-framework/slsa-github-generator/tree/main/internal/builders/docker. | ||
command = [ | ||
"nix", | ||
"develop", | ||
".#systemImageProvenance", | ||
"--command", | ||
"just", | ||
"oak_containers_nvidia_system_image", | ||
] | ||
artifact_path = "./oak_containers_system_image/target/nvidia_image.tar.xz" |
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