Files

183 lines
2.2 KiB
JSON

{
"scene": "docker",
"source": "assets/dist/docker-layers.webp",
"stagger": 0.35,
"parts": [
{
"name": "base",
"title": "Base image",
"blurb": "The foundation everything stacks on. Layers are content-addressed - an identical layer is stored once and reused by every image that references it.",
"z": 0,
"points": [
[
0,
55.66
],
[
27.88,
55.66
],
[
49.48,
75.51
],
[
71.88,
55.6
],
[
100,
55.6
],
[
100,
100
],
[
0,
100
]
],
"dx": 0.0,
"dy": 0.0
},
{
"name": "deps",
"title": "Dependencies",
"blurb": "Your packages and runtime. Change these and every layer above has to be rebuilt.",
"z": 0,
"points": [
[
0,
40.64
],
[
28.38,
40.64
],
[
49.76,
55.45
],
[
71.5,
40.32
],
[
100,
40.32
],
[
100,
56.3
],
[
71.88,
56.3
],
[
49.48,
76.21
],
[
27.88,
56.36
],
[
0,
56.36
]
],
"dx": 0.0,
"dy": 13.49
},
{
"name": "code",
"title": "Application code",
"blurb": "Your actual program - usually the smallest layer, and the one that changes every single build.",
"z": 0,
"points": [
[
0,
26.54
],
[
27.75,
26.54
],
[
50.77,
40.03
],
[
72.0,
26.17
],
[
100,
26.17
],
[
100,
41.02
],
[
71.5,
41.02
],
[
49.76,
56.15
],
[
28.38,
41.34
],
[
0,
41.34
]
],
"dx": 0.0,
"dy": 28.54
},
{
"name": "writable",
"title": "Writable layer",
"blurb": "NOT part of the image. The runtime adds it when it creates the container, and discards it when that container dies.",
"z": 0,
"points": [
[
0,
0
],
[
100,
0
],
[
100,
26.87
],
[
72.0,
26.87
],
[
50.77,
40.73
],
[
27.75,
27.24
],
[
0,
27.24
]
],
"dx": 0.0,
"dy": 40.1
}
]
}