added basic gpu runtime
This commit is contained in:
parent
4e6287d02e
commit
91212426d5
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
"id":"84127ecc-6892-4c63-8860-16a4f491fe4c",
|
||||||
|
"active":true,
|
||||||
|
"name":"focal-fossa-gpu",
|
||||||
|
"description":"An LXD runtime based on Ubuntu focal fossa 20.04 for running nvidia based GPU code",
|
||||||
|
"keywords":[
|
||||||
|
"lxd",
|
||||||
|
"linux",
|
||||||
|
"ubuntu",
|
||||||
|
"focal-fossa",
|
||||||
|
"bash",
|
||||||
|
"nvidia",
|
||||||
|
"GPU"
|
||||||
|
],
|
||||||
|
"responsible":{
|
||||||
|
"name":"Marco Lettere",
|
||||||
|
"email":"m.lettere@gmail.com"
|
||||||
|
},
|
||||||
|
"type":"lxd",
|
||||||
|
"image":"ubuntu:20.04"
|
||||||
|
}
|
|
@ -0,0 +1,22 @@
|
||||||
|
{
|
||||||
|
"builders": [
|
||||||
|
{
|
||||||
|
"type": "lxd",
|
||||||
|
"name": "{{ user `name`}}",
|
||||||
|
"image": "ubuntu:20.04",
|
||||||
|
"output_image": "{{ user `name` }}:{{user `id`}}",
|
||||||
|
"publish_properties": {
|
||||||
|
"description": "{{ user `description`}}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"provisioners": [
|
||||||
|
"type" : "shell",
|
||||||
|
"inline" : [
|
||||||
|
"apt-get update",
|
||||||
|
"apt-get --yes install build-essential",
|
||||||
|
"apt-get --yes install nvidia-cuda-toolkit"
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"post-processors": []
|
||||||
|
}
|
Loading…
Reference in New Issue