This repository was archived by the owner on Mar 30, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlinux-docker.json
More file actions
47 lines (44 loc) · 1.41 KB
/
linux-docker.json
File metadata and controls
47 lines (44 loc) · 1.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"variables": {
"name": "linux-docker",
"managed_image_resource_group_name": "",
"managed_image_name": "linux-docker",
"client_id":"",
"subscription_id":"",
"os_type": "Linux",
"image_publisher": "Canonical",
"image_offer": "0001-com-ubuntu-server-jammy",
"image_sku": "22_04-lts",
"communicator": "ssh",
"managed_by": "packer",
"environment": "",
"location": "southeastasia",
"vm_size": "Standard_B1s"
},
"builders": [{
"name": "{{user `name`}}",
"type": "azure-arm",
"use_azure_cli_auth": true,
"managed_image_resource_group_name": "{{user `managed_image_resource_group_name`}}",
"managed_image_name": "{{user `managed_image_name`}}",
"os_type": "{{user `os_type`}}",
"image_publisher": "{{user `image_publisher`}}",
"image_offer": "{{user `image_offer`}}",
"image_sku": "{{user `image_sku`}}",
"communicator": "{{user `communicator`}}",
"azure_tags": {
"managed_by": "{{user `managed_by`}}",
"environment": "{{user `environment`}}"
},
"location": "{{user `location`}}",
"vm_size": "{{user `vm_size`}}"
}
],
"provisioners": [{
"type": "shell",
"scripts": [
"{{template_dir}}/script/setup-az.sh",
"{{template_dir}}/script/setup-docker.sh"
]
}]
}