-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdive.json
316 lines (316 loc) · 11.9 KB
/
dive.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
{
"layer": [
{
"index": 0,
"id": "1a68d98181e8d4f464d7975e0bace602f22a580bb0160ddfd0c463ce5dffa143",
"digestId": "sha256:cb42413394c4059335228c137fe884ff3ab8946a014014309676c25e3ac86864",
"sizeBytes": 69224724,
"command": "#(nop) ADD file:422aca8901ae3d869a815051cea7f1e4c0204fad16884e7cd01da57d142f2e3a in / "
},
{
"index": 1,
"id": "b04e935563d8a8e3d8dea73746077c222de600b479cd42221843acd11da20e09",
"digestId": "sha256:930456101dbd1e077c19a52ae62588afa69cc2070d532e13072ee37be5779bd3",
"sizeBytes": 7013558,
"command": "set -eux; \tapt-get update; \tapt-get install -y --no-install-recommends \t\tca-certificates \t\tnetbase \t\ttzdata \t; \trm -rf /var/lib/apt/lists/*"
},
{
"index": 2,
"id": "066ed94d5947ddd39be63342037de3c0d68a56cd03f815128a732d264ebd6881",
"digestId": "sha256:8a7a07da5e582609ab44290978c4c72f47188580556beba970c06a3f7e880bfc",
"sizeBytes": 28925792,
"command": "set -ex \t\t\u0026\u0026 savedAptMark=\"$(apt-mark showmanual)\" \t\u0026\u0026 apt-get update \u0026\u0026 apt-get install -y --no-install-recommends \t\tdpkg-dev \t\tgcc \t\tlibbluetooth-dev \t\tlibbz2-dev \t\tlibc6-dev \t\tlibexpat1-dev \t\tlibffi-dev \t\tlibgdbm-dev \t\tliblzma-dev \t\tlibncursesw5-dev \t\tlibreadline-dev \t\tlibsqlite3-dev \t\tlibssl-dev \t\tmake \t\ttk-dev \t\tuuid-dev \t\twget \t\txz-utils \t\tzlib1g-dev \t\t$(command -v gpg \u003e /dev/null || echo 'gnupg dirmngr') \t\t\u0026\u0026 wget -O python.tar.xz \"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz\" \t\u0026\u0026 wget -O python.tar.xz.asc \"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc\" \t\u0026\u0026 export GNUPGHOME=\"$(mktemp -d)\" \t\u0026\u0026 gpg --batch --keyserver ha.pool.sks-keyservers.net --recv-keys \"$GPG_KEY\" \t\u0026\u0026 gpg --batch --verify python.tar.xz.asc python.tar.xz \t\u0026\u0026 { command -v gpgconf \u003e /dev/null \u0026\u0026 gpgconf --kill all || :; } \t\u0026\u0026 rm -rf \"$GNUPGHOME\" python.tar.xz.asc \t\u0026\u0026 mkdir -p /usr/src/python \t\u0026\u0026 tar -xJC /usr/src/python --strip-components=1 -f python.tar.xz \t\u0026\u0026 rm python.tar.xz \t\t\u0026\u0026 cd /usr/src/python \t\u0026\u0026 gnuArch=\"$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)\" \t\u0026\u0026 ./configure \t\t--build=\"$gnuArch\" \t\t--enable-loadable-sqlite-extensions \t\t--enable-optimizations \t\t--enable-option-checking=fatal \t\t--enable-shared \t\t--with-system-expat \t\t--with-system-ffi \t\t--without-ensurepip \t\u0026\u0026 make -j \"$(nproc)\" \t\tLDFLAGS=\"-Wl,--strip-all\" \t\u0026\u0026 make install \t\u0026\u0026 rm -rf /usr/src/python \t\t\u0026\u0026 find /usr/local -depth \t\t\\( \t\t\t\\( -type d -a \\( -name test -o -name tests -o -name idle_test \\) \\) \t\t\t-o \\( -type f -a \\( -name '*.pyc' -o -name '*.pyo' -o -name '*.a' \\) \\) \t\t\\) -exec rm -rf '{}' + \t\t\u0026\u0026 ldconfig \t\t\u0026\u0026 apt-mark auto '.*' \u003e /dev/null \t\u0026\u0026 apt-mark manual $savedAptMark \t\u0026\u0026 find /usr/local -type f -executable -not \\( -name '*tkinter*' \\) -exec ldd '{}' ';' \t\t| awk '/=\u003e/ { print $(NF-1) }' \t\t| sort -u \t\t| xargs -r dpkg-query --search \t\t| cut -d: -f1 \t\t| sort -u \t\t| xargs -r apt-mark manual \t\u0026\u0026 apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \t\u0026\u0026 rm -rf /var/lib/apt/lists/* \t\t\u0026\u0026 python3 --version"
},
{
"index": 3,
"id": "a4bd56afd58ea42cf41eda300eaa438b8768c5d5c2af5bea5abc673f65b5da46",
"digestId": "sha256:1dbeb49df6ff2d951a6bfc8f489313bfbdfa126b73aea2bea95705d33113784b",
"sizeBytes": 0,
"command": "cd /usr/local/bin \t\u0026\u0026 ln -s idle3 idle \t\u0026\u0026 ln -s pydoc3 pydoc \t\u0026\u0026 ln -s python3 python \t\u0026\u0026 ln -s python3-config python-config"
},
{
"index": 4,
"id": "659bad76068de787d1d036d79ef544cfed397a9e0ba1067bfbcc775e5d145215",
"digestId": "sha256:781022f7ce3b45308ac74820fcf2224c82b2c6f86ea82cd121b92be9e2b7878d",
"sizeBytes": 9186456,
"command": "set -ex; \t\tsavedAptMark=\"$(apt-mark showmanual)\"; \tapt-get update; \tapt-get install -y --no-install-recommends wget; \t\twget -O get-pip.py \"$PYTHON_GET_PIP_URL\"; \techo \"$PYTHON_GET_PIP_SHA256 *get-pip.py\" | sha256sum --check --strict -; \t\tapt-mark auto '.*' \u003e /dev/null; \t[ -z \"$savedAptMark\" ] || apt-mark manual $savedAptMark; \tapt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \trm -rf /var/lib/apt/lists/*; \t\tpython get-pip.py \t\t--disable-pip-version-check \t\t--no-cache-dir \t\t\"pip==$PYTHON_PIP_VERSION\" \t; \tpip --version; \t\tfind /usr/local -depth \t\t\\( \t\t\t\\( -type d -a \\( -name test -o -name tests -o -name idle_test \\) \\) \t\t\t-o \t\t\t\\( -type f -a \\( -name '*.pyc' -o -name '*.pyo' \\) \\) \t\t\\) -exec rm -rf '{}' +; \trm -f get-pip.py"
},
{
"index": 5,
"id": "728ff5ba8d5e9a26579e1afdb847e5c7e8f5e0364e253f652e16c394fed1dc4f",
"digestId": "sha256:7ef315d77ecfd1549fe4303ba73f01a2d4b8af0207bd8e806db1d2eaa3781bfd",
"sizeBytes": 15,
"command": "#(nop) COPY file:0154e5177ca5548f5e862961f7236c97322ac9649e2091e58b0193a635ae24a0 in /tmp/ "
},
{
"index": 6,
"id": "d274d47483937a2dd7dc17b3a097910a82a9f18ebd7fa30205e3298b53e64d55",
"digestId": "sha256:5746dbc004a31ad7b4d8054084c2eeb358a7d1feedc8d55d28ffffe4867006a7",
"sizeBytes": 6370685,
"command": "python -m pip install --no-cache-dir --upgrade pip==21.0.1 \u0026\u0026 python -m pip install --no-cache-dir -r /tmp/requirements.txt"
},
{
"index": 7,
"id": "e974f69a41ccc237a1ed80125307e3815c3b0799dba3783a6cc78ff72f0a3092",
"digestId": "sha256:5f038050a981e444161b58da804d0e164d5141b3e0a493dcd1b75f1e76ef9917",
"sizeBytes": 0,
"command": "#(nop) WORKDIR /app/"
},
{
"index": 8,
"id": "7692253c105dccc077006908c5718c073d4b00b0dfad9e66d4196bd1a36f4884",
"digestId": "sha256:70e980e7a7b8332d75d8899800492d7f4d6a7bcdc3ecd2a42792e17195d91761",
"sizeBytes": 10402,
"command": "#(nop) COPY dir:5fd6ad00f900b0d4983fe92e84d1baac90a1981253007e101d8eb34da4373199 in ./templates/ "
},
{
"index": 9,
"id": "a62ed9a2509b90695bcee561007e6f3ba120f10e38c9537c952c5010209be636",
"digestId": "sha256:8ff5e9222762407f4b6bbdb15950a54358eeea1968b5a809bf91aecd2ec3f952",
"sizeBytes": 2003,
"command": "#(nop) COPY file:3e729ac79d2a6ead04e86eb86946c0f8e9bd838851c4634bc7654d54ba1857e3 in . "
}
],
"image": {
"sizeBytes": 120733635,
"inefficientBytes": 6600287,
"efficiencyScore": 0.9590348455921169,
"fileReference": [
{
"count": 4,
"sizeBytes": 3116004,
"file": "/var/cache/debconf/templates.dat"
},
{
"count": 3,
"sizeBytes": 2320897,
"file": "/var/cache/debconf/templates.dat-old"
},
{
"count": 4,
"sizeBytes": 321525,
"file": "/var/lib/dpkg/status-old"
},
{
"count": 4,
"sizeBytes": 321514,
"file": "/var/lib/dpkg/status"
},
{
"count": 3,
"sizeBytes": 239859,
"file": "/var/log/dpkg.log"
},
{
"count": 3,
"sizeBytes": 92478,
"file": "/var/log/apt/term.log"
},
{
"count": 4,
"sizeBytes": 50364,
"file": "/var/cache/debconf/config.dat"
},
{
"count": 4,
"sizeBytes": 29156,
"file": "/etc/ld.so.cache"
},
{
"count": 4,
"sizeBytes": 27592,
"file": "/var/log/apt/eipp.log.xz"
},
{
"count": 3,
"sizeBytes": 24788,
"file": "/var/cache/debconf/config.dat-old"
},
{
"count": 3,
"sizeBytes": 21190,
"file": "/var/log/apt/history.log"
},
{
"count": 4,
"sizeBytes": 18851,
"file": "/var/lib/apt/extended_states"
},
{
"count": 3,
"sizeBytes": 15646,
"file": "/var/cache/ldconfig/aux-cache"
},
{
"count": 2,
"sizeBytes": 423,
"file": "/root/.wget-hsts"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/xmlrpc/__pycache__"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/ctypes/__pycache__"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/collections/__pycache__"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/__pycache__"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/distutils/command/__pycache__"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/email/__pycache__"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/encodings/__pycache__"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/html/__pycache__"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/http/__pycache__"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/bin"
},
{
"count": 3,
"sizeBytes": 0,
"file": "/var/cache/apt/archives/partial"
},
{
"count": 3,
"sizeBytes": 0,
"file": "/var/cache/apt/archives/lock"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/src"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/lib/x86_64-linux-gnu/perl"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/lib/gcc/x86_64-linux-gnu/8"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/include"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/importlib/__pycache__"
},
{
"count": 4,
"sizeBytes": 0,
"file": "/var/lib/dpkg/updates"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/var/lib/dpkg/triggers/Unincorp"
},
{
"count": 4,
"sizeBytes": 0,
"file": "/var/lib/dpkg/triggers/Lock"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/json/__pycache__"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/logging/__pycache__"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/urllib/__pycache__"
},
{
"count": 4,
"sizeBytes": 0,
"file": "/var/lib/dpkg/lock"
},
{
"count": 4,
"sizeBytes": 0,
"file": "/var/lib/apt/lists"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/xml/__pycache__"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/xml/etree/__pycache__"
},
{
"count": 4,
"sizeBytes": 0,
"file": "/var/lib/dpkg/lock-frontend"
},
{
"count": 4,
"sizeBytes": 0,
"file": "/var/cache/debconf/passwords.dat"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/xml/parsers/__pycache__"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/xml/sax/__pycache__"
},
{
"count": 5,
"sizeBytes": 0,
"file": "/tmp"
},
{
"count": 2,
"sizeBytes": 0,
"file": "/usr/local/lib/python3.9/distutils/__pycache__"
}
]
}
}