-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paths3fs.json
67 lines (64 loc) · 1.46 KB
/
s3fs.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
56
57
58
59
60
61
62
63
64
65
66
67
{
"variables": {
"s3fs_version": "1.84"
},
"provisioners": [
{
"type": "shell",
"environment_vars": [
"DEBIAN_FRONTEND=noninteractive"
],
"inline": [
"apt-get update",
"apt-get -y install libnss-wrapper s3fs supervisor",
"mkdir -p /docker-entrypoint.d",
"rm -rf /var/lib/apt/lists/*"
]
},
{
"type": "file",
"source": "./docker-entrypoint.d/",
"destination": "/docker-entrypoint.d",
"only": ["docker"]
},
{
"type": "file",
"source": "./docker-entrypoint.sh",
"destination": "/docker-entrypoint.sh",
"only": ["docker"]
},
{
"type": "file",
"source": "./s3fs.json",
"destination": "/packer-build.json"
}
],
"post-processors": [
[
{
"type": "docker-tag",
"repository": "localhost:32000/s3fs",
"tag": "{{user `s3fs_version`}}",
"only": [ "docker" ]
},
{
"type": "docker-tag",
"repository": "cerds/s3fs",
"tag": "{{user `s3fs_version`}}",
"only": [ "docker" ]
}
]
],
"builders": [
{
"type": "docker",
"image": "debian:buster-slim",
"commit": true,
"changes": [
"CMD [\"supervisord\", \"-c\", \"/etc/supervisor/supervisord.conf\", \"-n\"]",
"ENTRYPOINT [\"/docker-entrypoint.sh\"]",
"LABEL maintainer=\"Dean Taylor <[email protected]>\""
]
}
]
}