23 lines
504 B
JSON
23 lines
504 B
JSON
|
{
|
||
|
"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": []
|
||
|
}
|