added python3 and jdk8 runtimes

This commit is contained in:
dcore94 2022-08-30 16:10:10 +02:00
parent bf6ba5c468
commit 03e28cfbef
5 changed files with 109 additions and 3 deletions

View File

@ -0,0 +1,24 @@
{
"id":"456ab8af-3cec-4286-ae9c-1bdf2bb46e54",
"active":true,
"name":"focal-fossa-jdk8-devel",
"description":"JDK 8 specialized focal-fossa (Ubuntu 20:04) runtime with Maven and Gradle support",
"keywords":[
"lxd",
"linux",
"ubuntu",
"focal-fossa",
"bash",
"java",
"jdk",
"jdk8",
"maven",
"gradle"
],
"responsible":{
"name":"Marco Lettere",
"email":"m.lettere@gmail.com"
},
"type":"lxd",
"image":"ubuntu:20.04"
}

View File

@ -0,0 +1,31 @@
{
"variables" : {
"id" : "",
"description" : "",
"name" : "",
},
"builders": [
{
"type": "{{ user `type` }}",
"name": "{{ user `name`}} ",
"image": "ubuntu:20.04",
"output_image": "{{ user `name` }}:{{user `id`}}",
"publish_properties": {
"description": "{{ user `description`}}"
}
}
],
"provisioners": [
{
"type" : "shell",
"inline" : [
"/usr/bin/cloud-init status --wait",
"apt-get update",
"apt-get -y autoremove",
"apt-get -y autoclean",
"apt-get install -y openjdk-8-jdk maven gradle"
]
}
],
"post-processors": []
}

View File

@ -0,0 +1,22 @@
{
"id":"7b5ba47f-d661-4596-9435-3cd6ddaab97f",
"active":true,
"name":"focal-fossa-py3-devel",
"description":"Python3 specialized focal-fossa (Ubuntu 20:04) runtime",
"keywords":[
"lxd",
"linux",
"ubuntu",
"focal-fossa",
"bash",
"python-3",
"python-3.8",
"pip"
],
"responsible":{
"name":"Marco Lettere",
"email":"m.lettere@gmail.com"
},
"type":"lxd",
"image":"ubuntu:20.04"
}

View File

@ -0,0 +1,29 @@
{
"variables" : {
"id" : "",
"description" : "",
"name" : "",
},
"builders": [
{
"type": "{{ user `type` }}",
"name": "{{ user `name`}} ",
"image": "ubuntu:20.04",
"output_image": "{{ user `name` }}:{{user `id`}}",
"publish_properties": {
"description": "{{ user `description`}}"
}
}
],
"provisioners": [
{
"type" : "shell",
"inline" : [
"/usr/bin/cloud-init status --wait",
"apt-get update",
"apt-get install -y python3-pip"
]
}
],
"post-processors": []
}

View File

@ -1,8 +1,8 @@
{
"variables" : {
"id" : "84127ecc-6892-4c63-8860-16a4f491fe4c"
"description" : "This is a default empty Ubuntu 20.04 (\"Focal Fossa\") Runtime provided as LXD container.",
"name" : "focal-fossa",
"id" : ""
"description" : "",
"name" : "",
},
"builders": [
{