-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslim.report.json
384 lines (384 loc) · 17.9 KB
/
slim.report.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
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
{
"version": "1.1",
"engine": "darwin/arm64|Transformer|1.40.11|latest|latest",
"containerized": false,
"host_distro": {
"name": "",
"version": "",
"display_name": "Sonoma (14.6)"
},
"type": "build",
"state": "error",
"error": "no.exposed.ports",
"target_reference": "securityunion/deertector:latest",
"system": {
"type": "",
"release": "",
"distro": {
"name": "",
"version": "",
"display_name": ""
}
},
"source_image": {
"identity": {
"id": ""
},
"size": 0,
"size_human": "",
"create_time": "",
"docker_version": "",
"architecture": "",
"container_entry": {
"exe_path": ""
}
},
"minified_image_size": 0,
"minified_image_size_human": "",
"minified_image": "",
"minified_image_id": "",
"minified_image_digest": "",
"minified_image_has_data": false,
"minified_by": 0,
"artifact_location": "",
"container_report_name": "",
"seccomp_profile_name": "",
"apparmor_profile_name": "",
"image_stack": [
{
"is_top_image": true,
"id": "sha256:9caa3072a2f3a4ea7f2ada915b54b979f4e4c4ddaf2991bf3f8803bbb2a154a5",
"full_name": "securityunion/deertector:latest",
"repo_name": "securityunion/deertector",
"version_tag": "latest",
"raw_tags": [
"securityunion/deertector:latest"
],
"create_time": "2024-11-20T20:40:40Z",
"new_size": 354676751,
"new_size_human": "355 MB",
"instructions": [
{
"type": "ADD",
"time": "2024-10-18T23:23:40Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 74776215,
"size_human": "75 MB",
"params": "rootfs.tar.xz /",
"command_snippet": "ADD rootfs.tar.xz /",
"command_all": "ADD rootfs.tar.xz /",
"comment": "buildkit.dockerfile.v0",
"is_buildkit_instruction": true,
"inst_set_time_bucket": "2024-10-18T19:15:00-04:00",
"inst_set_time_index": 0,
"inst_set_time_reverse_index": 1
},
{
"type": "CMD",
"time": "2024-10-18T23:23:40Z",
"is_nop": false,
"is_exec_form": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "[\"bash\"]\n",
"command_snippet": "CMD [\"bash\"]\n",
"command_all": "CMD [\"bash\"]\n",
"comment": "buildkit.dockerfile.v0",
"is_buildkit_instruction": true,
"inst_set_time_bucket": "2024-10-18T19:15:00-04:00",
"inst_set_time_index": 0,
"inst_set_time_reverse_index": 1
},
{
"type": "ENV",
"time": "2024-10-18T23:23:40Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"command_snippet": "ENV PATH=/usr/local/bin:/usr/local/sbin:/usr...",
"command_all": "ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"comment": "buildkit.dockerfile.v0",
"is_buildkit_instruction": true,
"inst_set_time_bucket": "2024-10-18T19:15:00-04:00",
"inst_set_time_index": 0,
"inst_set_time_reverse_index": 1
},
{
"type": "ENV",
"time": "2024-10-18T23:23:40Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "LANG=C.UTF-8",
"command_snippet": "ENV LANG=C.UTF-8",
"command_all": "ENV LANG=C.UTF-8",
"comment": "buildkit.dockerfile.v0",
"is_buildkit_instruction": true,
"inst_set_time_bucket": "2024-10-18T19:15:00-04:00",
"inst_set_time_index": 0,
"inst_set_time_reverse_index": 1
},
{
"type": "RUN",
"time": "2024-10-18T23:23:40Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 9237562,
"size_human": "9.2 MB",
"command_snippet": "RUN set -eux; \tapt-get update; \tapt-get inst...",
"command_all": "RUN 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/*",
"system_commands": [
"set -eux",
"apt-get update",
"apt-get install -y --no-install-recommends ca-certificates netbase tzdata",
"rm -rf /var/lib/apt/lists/*"
],
"comment": "buildkit.dockerfile.v0",
"is_buildkit_instruction": true,
"inst_set_time_bucket": "2024-10-18T19:15:00-04:00",
"inst_set_time_index": 0,
"inst_set_time_reverse_index": 1
},
{
"type": "ENV",
"time": "2024-10-18T23:23:40Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568",
"command_snippet": "ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E3...",
"command_all": "ENV GPG_KEY=E3FF2839C048B25C084DEBE9B26995E310250568",
"comment": "buildkit.dockerfile.v0",
"is_buildkit_instruction": true,
"inst_set_time_bucket": "2024-10-18T19:15:00-04:00",
"inst_set_time_index": 0,
"inst_set_time_reverse_index": 1
},
{
"type": "ENV",
"time": "2024-10-18T23:23:40Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "PYTHON_VERSION=3.9.20",
"command_snippet": "ENV PYTHON_VERSION=3.9.20",
"command_all": "ENV PYTHON_VERSION=3.9.20",
"comment": "buildkit.dockerfile.v0",
"is_buildkit_instruction": true,
"inst_set_time_bucket": "2024-10-18T19:15:00-04:00",
"inst_set_time_index": 0,
"inst_set_time_reverse_index": 1
},
{
"type": "ENV",
"time": "2024-10-18T23:23:40Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "PYTHON_SHA256=6b281279efd85294d2d6993e173983a57464c0133956fbbb5536ec9646beaf0c",
"command_snippet": "ENV PYTHON_SHA256=6b281279efd85294d2d6993e17...",
"command_all": "ENV PYTHON_SHA256=6b281279efd85294d2d6993e173983a57464c0133956fbbb5536ec9646beaf0c",
"comment": "buildkit.dockerfile.v0",
"is_buildkit_instruction": true,
"inst_set_time_bucket": "2024-10-18T19:15:00-04:00",
"inst_set_time_index": 0,
"inst_set_time_reverse_index": 1
},
{
"type": "RUN",
"time": "2024-10-18T23:23:40Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 41515321,
"size_human": "42 MB",
"command_snippet": "RUN set -eux; \t\tsavedAptMark=\"$(apt-mark sho...",
"command_all": "RUN set -eux; \t\tsavedAptMark=\"$(apt-mark showmanual)\"; \tapt-get update; \tapt-get install -y --no-install-recommends \t\tdpkg-dev \t\tgcc \t\tgnupg \t\tlibbluetooth-dev \t\tlibbz2-dev \t\tlibc6-dev \t\tlibdb-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\twget -O python.tar.xz \"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz\"; \techo \"$PYTHON_SHA256 *python.tar.xz\" | sha256sum -c -; \twget -O python.tar.xz.asc \"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc\"; \tGNUPGHOME=\"$(mktemp -d)\"; export GNUPGHOME; \tgpg --batch --keyserver hkps://keys.openpgp.org --recv-keys \"$GPG_KEY\"; \tgpg --batch --verify python.tar.xz.asc python.tar.xz; \tgpgconf --kill all; \trm -rf \"$GNUPGHOME\" python.tar.xz.asc; \tmkdir -p /usr/src/python; \ttar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; \trm python.tar.xz; \t\tcd /usr/src/python; \tgnuArch=\"$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)\"; \t./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-ensurepip \t; \tnproc=\"$(nproc)\"; \tEXTRA_CFLAGS=\"$(dpkg-buildflags --get CFLAGS)\"; \tLDFLAGS=\"$(dpkg-buildflags --get LDFLAGS)\"; \tLDFLAGS=\"${LDFLAGS:--Wl},--strip-all\"; \tmake -j \"$nproc\" \t\t\"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}\" \t\t\"LDFLAGS=${LDFLAGS:-}\" \t; \trm python; \tmake -j \"$nproc\" \t\t\"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}\" \t\t\"LDFLAGS=${LDFLAGS:--Wl},-rpath='\\$\\$ORIGIN/../lib'\" \t\tpython \t; \tmake install; \t\tcd /; \trm -rf /usr/src/python; \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 \\( -type f -a \\( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \\) \\) \t\t\\) -exec rm -rf '{}' + \t; \t\tldconfig; \t\tapt-mark auto '.*' > /dev/null; \tapt-mark manual $savedAptMark; \tfind /usr/local -type f -executable -not \\( -name '*tkinter*' \\) -exec ldd '{}' ';' \t\t| awk '/=>/ { so = $(NF-1); if (index(so, \"/usr/local/\") == 1) { next }; gsub(\"^/(usr/)?\", \"\", so); printf \"*%s\\n\", so }' \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; \tapt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \trm -rf /var/lib/apt/lists/*; \t\texport PYTHONDONTWRITEBYTECODE=1; \tpython3 --version; \t\tpip3 install \t\t--disable-pip-version-check \t\t--no-cache-dir \t\t--no-compile \t\t'setuptools==58.1.0' \t\twheel \t; \tpip3 --version",
"system_commands": [
"set -eux",
"savedAptMark=\"$(apt-mark showmanual)\"",
"apt-get update",
"apt-get install -y --no-install-recommends dpkg-dev gcc gnupg libbluetooth-dev libbz2-dev libc6-dev libdb-dev libffi-dev libgdbm-dev liblzma-dev libncursesw5-dev libreadline-dev libsqlite3-dev libssl-dev make tk-dev uuid-dev wget xz-utils zlib1g-dev",
"wget -O python.tar.xz \"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz\"",
"echo \"$PYTHON_SHA256 *python.tar.xz\" | sha256sum -c -",
"wget -O python.tar.xz.asc \"https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc\"",
"GNUPGHOME=\"$(mktemp -d)\"",
"export GNUPGHOME",
"gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys \"$GPG_KEY\"",
"gpg --batch --verify python.tar.xz.asc python.tar.xz",
"gpgconf --kill all",
"rm -rf \"$GNUPGHOME\" python.tar.xz.asc",
"mkdir -p /usr/src/python",
"tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz",
"rm python.tar.xz",
"cd /usr/src/python",
"gnuArch=\"$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)\"",
"./configure --build=\"$gnuArch\" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared --with-ensurepip",
"nproc=\"$(nproc)\"",
"EXTRA_CFLAGS=\"$(dpkg-buildflags --get CFLAGS)\"",
"LDFLAGS=\"$(dpkg-buildflags --get LDFLAGS)\"",
"LDFLAGS=\"${LDFLAGS:--Wl},--strip-all\"",
"make -j \"$nproc\" \"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}\" \"LDFLAGS=${LDFLAGS:-}\"",
"rm python",
"make -j \"$nproc\" \"EXTRA_CFLAGS=${EXTRA_CFLAGS:-}\" \"LDFLAGS=${LDFLAGS:--Wl},-rpath='$$ORIGIN/../lib'\" python",
"make install",
"cd /",
"rm -rf /usr/src/python",
"find /usr/local -depth ( ( -type d -a ( -name test -o -name tests -o -name idle_test ) ) -o ( -type f -a ( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' ) ) ) -exec rm -rf '{}' +",
"ldconfig",
"apt-mark auto '.*' > /dev/null",
"apt-mark manual $savedAptMark",
"find /usr/local -type f -executable -not ( -name '*tkinter*' ) -exec ldd '{}' '",
"' | awk '/=>/ { so = $(NF-1)",
"if (index(so, \"/usr/local/\") == 1) { next }",
"gsub(\"^/(usr/)?\", \"\", so)",
"printf \"*%sn\", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual",
"apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false",
"rm -rf /var/lib/apt/lists/*",
"export PYTHONDONTWRITEBYTECODE=1",
"python3 --version",
"pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==58.1.0' wheel",
"pip3 --version"
],
"comment": "buildkit.dockerfile.v0",
"is_buildkit_instruction": true,
"inst_set_time_bucket": "2024-10-18T19:15:00-04:00",
"inst_set_time_index": 0,
"inst_set_time_reverse_index": 1
},
{
"type": "RUN",
"time": "2024-10-18T23:23:40Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 36,
"size_human": "36 B",
"command_snippet": "RUN set -eux; \tfor src in idle3 pip3 pydoc3 ...",
"command_all": "RUN set -eux; \tfor src in idle3 pip3 pydoc3 python3 python3-config; do \t\tdst=\"$(echo \"$src\" | tr -d 3)\"; \t\t[ -s \"/usr/local/bin/$src\" ]; \t\t[ ! -e \"/usr/local/bin/$dst\" ]; \t\tln -svT \"$src\" \"/usr/local/bin/$dst\"; \tdone",
"system_commands": [
"set -eux",
"for src in idle3 pip3 pydoc3 python3 python3-config",
"do dst=\"$(echo \"$src\" | tr -d 3)\"",
"[ -s \"/usr/local/bin/$src\" ]",
"[ ! -e \"/usr/local/bin/$dst\" ]",
"ln -svT \"$src\" \"/usr/local/bin/$dst\"",
"done"
],
"comment": "buildkit.dockerfile.v0",
"is_buildkit_instruction": true,
"inst_set_time_bucket": "2024-10-18T19:15:00-04:00",
"inst_set_time_index": 0,
"inst_set_time_reverse_index": 1
},
{
"type": "CMD",
"time": "2024-10-18T23:23:40Z",
"is_nop": false,
"is_exec_form": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "[\"python3\"]\n",
"command_snippet": "CMD [\"python3\"]\n",
"command_all": "CMD [\"python3\"]\n",
"comment": "buildkit.dockerfile.v0",
"is_buildkit_instruction": true,
"inst_set_time_bucket": "2024-10-18T19:15:00-04:00",
"inst_set_time_index": 0,
"inst_set_time_reverse_index": 1
},
{
"type": "WORKDIR",
"time": "2024-11-20T20:32:50Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "/app",
"command_snippet": "WORKDIR /app",
"command_all": "WORKDIR /app",
"system_commands": [
"mkdir -p /app"
],
"comment": "buildkit.dockerfile.v0",
"is_buildkit_instruction": true,
"inst_set_time_bucket": "2024-11-20T15:30:00-05:00",
"inst_set_time_index": 1,
"inst_set_time_reverse_index": 0
},
{
"type": "RUN",
"time": "2024-11-20T20:33:07Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 221977377,
"size_human": "222 MB",
"command_snippet": "RUN apt-get update && \\\n\tapt-get install -y ...",
"command_all": "RUN apt-get update && \\\n\tapt-get install -y --no-install-recommends libgl1-mesa-glx libglib2.0-0 libsm6 libxext6 libxrender-dev && \\\n\trm -rf /var/lib/apt/lists/*",
"system_commands": [
"apt-get update",
"apt-get install -y --no-install-recommends libgl1-mesa-glx libglib2.0-0 libsm6 libxext6 libxrender-dev",
"rm -rf /var/lib/apt/lists/*"
],
"comment": "buildkit.dockerfile.v0",
"is_buildkit_instruction": true,
"inst_set_time_bucket": "2024-11-20T15:30:00-05:00",
"inst_set_time_index": 1,
"inst_set_time_reverse_index": 0
},
{
"type": "COPY",
"time": "2024-11-20T20:40:40Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 7170240,
"size_human": "7.2 MB",
"params": "/app /app",
"command_snippet": "COPY /app /app",
"command_all": "COPY /app /app",
"comment": "buildkit.dockerfile.v0",
"is_buildkit_instruction": true,
"inst_set_time_bucket": "2024-11-20T15:30:00-05:00",
"inst_set_time_index": 1,
"inst_set_time_reverse_index": 0
},
{
"type": "CMD",
"time": "2024-11-20T20:40:40Z",
"is_last_instruction": true,
"is_nop": false,
"is_exec_form": true,
"local_image_exists": true,
"layer_index": 0,
"size": 0,
"params": "[\"python\",\"detector.py\"]\n",
"command_snippet": "CMD [\"python\",\"detector.py\"]\n",
"command_all": "CMD [\"python\",\"detector.py\"]\n",
"comment": "buildkit.dockerfile.v0",
"raw_tags": [
"securityunion/deertector:latest"
],
"is_buildkit_instruction": true,
"inst_set_time_bucket": "2024-11-20T15:30:00-05:00",
"inst_set_time_index": 1,
"inst_set_time_reverse_index": 0
}
]
}
],
"image_created": false,
"image_build_engine": ""
}