forked from mvberg/ib-gateway-docker
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ibgw-packer-ubuntu.json
55 lines (55 loc) · 1.16 KB
/
ibgw-packer-ubuntu.json
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
53
54
55
{
"post-processors" : [
[
{
"tag" : "1.13-ibc3.8.4-beta",
"type" : "docker-tag",
"repository" : "forhire/ibgateway"
},
{
"type" : "docker-push"
}
]
],
"builders" : [
{
"commit" : "true",
"type" : "docker",
"image" : "ubuntu:20.04",
"changes" : [
"ENTRYPOINT [\"/runscript.sh\"]"
]
}
],
"provisioners" : [
{
"source" : "runscript.sh",
"destination" : "/runscript.sh",
"type" : "file"
},
{
"destination" : "/etc/init.d/xvfb",
"type" : "file",
"source" : "./vnc/xvfb_init"
},
{
"destination" : "/etc/init.d/vnc",
"type" : "file",
"source" : "./vnc/vnc_init"
},
{
"destination" : "/usr/bin/xvfb-daemon-run",
"type" : "file",
"source" : "./vnc/xvfb-daemon-run"
},
{
"type" : "file",
"destination" : "/tmp/",
"source" : "./ib"
},
{
"script" : "packer-install.sh",
"type" : "shell"
}
]
}