25 lines
520 B
JSON
25 lines
520 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": []
|
|
}
|