-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathseqc.packer
52 lines (52 loc) · 1.71 KB
/
seqc.packer
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
48
49
50
51
52
{
"variables": {
"image_version": "a1",
"seqc_version": "0.2.11",
"maintainer": "chunj@mskcc.org",
"region": "us-east-1",
"source_ami": "ami-0de53d8956e8dcf80"
},
"builders": [
{
"type": "amazon-ebs",
"region": "{{user `region`}}",
"source_ami": "{{user `source_ami`}}",
"instance_type": "t2.medium",
"ssh_username": "ec2-user",
"ami_name": "seqc-v{{user `seqc_version`}}_{{user `image_version`}}",
"ami_description": "SEQC v{{user `seqc_version`}}_{{user `image_version`}}",
"ami_regions": "{{user `region`}}",
"tags": {
"Name": "seqc-v{{user `seqc_version`}}_{{user `image_version`}}",
"Owner": "chunj"
},
"run_tags": {
"Name": "seqc-v{{user `seqc_version`}}_{{user `image_version`}}",
"Owner": "chunj"
},
"launch_block_device_mappings": [
{
"device_name": "/dev/xvda",
"volume_size": 20,
"volume_type": "gp2",
"delete_on_termination": true
}
]
}
],
"provisioners": [
{
"type": "shell",
"scripts": [
"./scripts/bootstrap.sh",
"./scripts/install-miniconda.sh",
"./scripts/install-samtools.sh",
"./scripts/install-docker.sh",
"./scripts/install-STAR.sh",
"./scripts/install-SEQC.sh",
"./scripts/install-utils.sh",
"./scripts/install-fonts.sh"
]
}
]
}