Compare commits

...

16 Commits

Author SHA1 Message Date
dcore94 49b014993b fixed json error 2022-09-16 17:32:12 +02:00
dcore94 cb31c5e245 added tuneim for cuda and py3 2022-09-16 17:21:01 +02:00
dcore94 182a2ed8a4 set correct image name which is the one used for tagging 2022-09-13 16:57:37 +02:00
dcore94 0ba4f1c014 Merge branch 'master' into ontheroad-lxd 2022-09-13 16:57:06 +02:00
dcore94 cdf92bfd4e removed id from image tag 2022-09-13 16:50:38 +02:00
dcore94 e97d7bc85c Merge branch 'master' into ontheroad-lxd 2022-09-13 16:49:46 +02:00
dcore94 3d38b88b19 Merge branch 'master' into ontheroad-lxd 2022-08-30 17:02:42 +02:00
dcore94 8a874a6284 Merge branch 'master' into ontheroad-lxd 2022-08-30 16:57:02 +02:00
dcore94 240def2b26 merged from master 2022-08-30 16:47:50 +02:00
dcore94 21f8a3b50a fixed packer 2022-08-30 16:43:20 +02:00
dcore94 e8d9de839e fixed wrong , 2022-08-30 16:34:30 +02:00
dcore94 a75fe27468 merged with new runtimes 2022-08-30 16:20:51 +02:00
dcore94 21d9d8bf6d added missing brackets 2022-08-04 13:25:32 +02:00
dcore94 91212426d5 added basic gpu runtime 2022-08-04 11:06:16 +02:00
dcore94 4e6287d02e removed trailing space 2022-08-03 17:17:00 +02:00
dcore94 0938a48e7b first runtime 2022-08-03 15:29:59 +02:00
5 changed files with 92 additions and 2 deletions

View File

@ -0,0 +1,23 @@
{
"id":"7ed75313-6b78-4f35-ad77-01442ff962db",
"active":true,
"name":"focal-fossa-cuda-py3",
"description":"An LXD runtime based on Ubuntu focal fossa 20.04 for running nvidia based GPU code and python3 applications",
"keywords":[
"lxd",
"linux",
"ubuntu",
"focal-fossa",
"bash",
"nvidia",
"GPU",
"python",
"python3"
],
"responsible":{
"name":"Marco Lettere",
"email":"m.lettere@gmail.com"
},
"type":"lxd",
"image":"focal-fossa-cuda-py3"
}

View File

@ -0,0 +1,22 @@
{
"builders": [
{
"type": "lxd",
"name": "{{ user `name`}}",
"image": "focal-fossa-gpu",
"output_image": "{{ user `name` }}",
"publish_properties": {
"description": "{{ user `description`}}"
}
}
],
"provisioners": [
{
"type" : "shell",
"inline" : [
"apt-get install -y python3-pip"
]
}
],
"post-processors": []
}

View File

@ -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":"focal-fossa-gpu"
}

View File

@ -0,0 +1,24 @@
{
"builders": [
{
"type": "lxd",
"name": "{{ user `name`}}",
"image": "ubuntu:20.04",
"output_image": "{{ user `name` }}",
"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": []
}

View File

@ -7,8 +7,8 @@
"output_image": "{{ user `name` }}",
"publish_properties": {
"description": "{{ user `description`}}"
}
}
}
}
],
"provisioners": [],
"post-processors": []