-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathslim.report.json
596 lines (596 loc) · 29.2 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
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
{
"version": "1.0",
"engine": "linux|Transformer|1.38.0|937cad81bc1b1be05e7fc3cf0f6259c4a1f3a452|2022-08-28_05:51:34AM",
"containerized": false,
"host_distro": {
"name": "Debian GNU/Linux",
"version": "11",
"display_name": "Debian GNU/Linux 11 (bullseye)"
},
"type": "build",
"state": "done",
"target_reference": "ngocphamm/quiethnphp:latest",
"system": {
"type": "Linux",
"release": "5.15.61-v8+",
"distro": {
"name": "Debian GNU/Linux",
"version": "11",
"display_name": "Debian GNU/Linux 11 (bullseye)"
}
},
"source_image": {
"identity": {
"id": "sha256:1093e482b1e4f4aaeb702f2b9029425081475077928fed77d6efe7470d4dca21",
"tags": [
"latest"
],
"names": [
"ngocphamm/quiethnphp:latest"
]
},
"size": 426842297,
"size_human": "427 MB",
"create_time": "2022-10-22T23:43:41Z",
"docker_version": "",
"architecture": "arm64",
"exposed_ports": [
"80/tcp"
],
"os": "linux",
"env_vars": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"PHPIZE_DEPS=autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c",
"PHP_INI_DIR=/usr/local/etc/php",
"APACHE_CONFDIR=/etc/apache2",
"APACHE_ENVVARS=/etc/apache2/envvars",
"PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
"PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
"PHP_LDFLAGS=-Wl,-O1 -pie",
"GPG_KEYS=528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD",
"PHP_VERSION=8.1.11",
"PHP_URL=https://www.php.net/distributions/php-8.1.11.tar.xz",
"PHP_ASC_URL=https://www.php.net/distributions/php-8.1.11.tar.xz.asc",
"PHP_SHA256=3005198d7303f87ab31bc30695de76e8ad62783f806b6ab9744da59fe41cc5bd",
"APACHE_DOCUMENT_ROOT=/var/www/html/public"
],
"container_entry": {
"exe_path": ""
}
},
"minified_image_size": 75279754,
"minified_image_size_human": "75 MB",
"minified_image": "ngocphamm/quiethnphp.slim",
"minified_image_has_data": true,
"minified_by": 5.670080922421718,
"artifact_location": "/tmp/docker-slim-state/.docker-slim-state/images/1093e482b1e4f4aaeb702f2b9029425081475077928fed77d6efe7470d4dca21/artifacts",
"container_report_name": "creport.json",
"seccomp_profile_name": "ngocphamm-quiethnphp-seccomp.json",
"apparmor_profile_name": "ngocphamm-quiethnphp-apparmor-profile",
"image_stack": [
{
"is_top_image": true,
"id": "sha256:1093e482b1e4f4aaeb702f2b9029425081475077928fed77d6efe7470d4dca21",
"full_name": "ngocphamm/quiethnphp:latest",
"repo_name": "ngocphamm/quiethnphp",
"version_tag": "latest",
"raw_tags": [
"ngocphamm/quiethnphp:latest"
],
"create_time": "2022-10-22T23:43:41Z",
"new_size": 426842297,
"new_size_human": "427 MB",
"instructions": [
{
"type": "ADD",
"time": "2022-10-04T23:44:42Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 74342019,
"size_human": "74 MB",
"params": "file:dcb96c5906228cc8195f87d079b2a65ab49cde56edd7f0ccd238cdc65f9b693c in /",
"command_snippet": "ADD file:dcb96c5906228cc8195f87d079b2a65ab49...",
"command_all": "ADD file:dcb96c5906228cc8195f87d079b2a65ab49cde56edd7f0ccd238cdc65f9b693c /",
"target": "/",
"source_type": "file"
},
{
"type": "CMD",
"time": "2022-10-04T23:44:43Z",
"is_nop": true,
"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"
},
{
"type": "RUN",
"time": "2022-10-05T07:04:25Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 46,
"size_human": "46 B",
"command_snippet": "RUN set -eux; \t{ \t\techo 'Package: php*'; \t\te...",
"command_all": "RUN set -eux; \t{ \t\techo 'Package: php*'; \t\techo 'Pin: release *'; \t\techo 'Pin-Priority: -1'; \t} > /etc/apt/preferences.d/no-debian-php",
"system_commands": [
"set -eux",
"{ echo 'Package: php*'",
"echo 'Pin: release *'",
"echo 'Pin-Priority: -1'",
"} > /etc/apt/preferences.d/no-debian-php"
]
},
{
"type": "ENV",
"time": "2022-10-05T07:04:26Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "PHPIZE_DEPS=autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c",
"command_snippet": "ENV PHPIZE_DEPS=autoconf \t\tdpkg-dev \t\tfile \t...",
"command_all": "ENV PHPIZE_DEPS=autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c"
},
{
"type": "RUN",
"time": "2022-10-05T07:04:43Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 248661629,
"size_human": "249 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\t$PHPIZE_DEPS \t\tca-certificates \t\tcurl \t\txz-utils \t; \trm -rf /var/lib/apt/lists/*",
"system_commands": [
"set -eux",
"apt-get update",
"apt-get install -y --no-install-recommends $PHPIZE_DEPS ca-certificates curl xz-utils",
"rm -rf /var/lib/apt/lists/*"
]
},
{
"type": "ENV",
"time": "2022-10-05T07:04:43Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "PHP_INI_DIR=/usr/local/etc/php",
"command_snippet": "ENV PHP_INI_DIR=/usr/local/etc/php",
"command_all": "ENV PHP_INI_DIR=/usr/local/etc/php"
},
{
"type": "RUN",
"time": "2022-10-05T07:04:44Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"command_snippet": "RUN set -eux; \tmkdir -p \"$PHP_INI_DIR/conf.d...",
"command_all": "RUN set -eux; \tmkdir -p \"$PHP_INI_DIR/conf.d\"; \t[ ! -d /var/www/html ]; \tmkdir -p /var/www/html; \tchown www-data:www-data /var/www/html; \tchmod 777 /var/www/html",
"system_commands": [
"set -eux",
"mkdir -p \"$PHP_INI_DIR/conf.d\"",
"[ ! -d /var/www/html ]",
"mkdir -p /var/www/html",
"chown www-data:www-data /var/www/html",
"chmod 777 /var/www/html"
]
},
{
"type": "ENV",
"time": "2022-10-05T07:08:52Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "APACHE_CONFDIR=/etc/apache2",
"command_snippet": "ENV APACHE_CONFDIR=/etc/apache2",
"command_all": "ENV APACHE_CONFDIR=/etc/apache2"
},
{
"type": "ENV",
"time": "2022-10-05T07:08:52Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "APACHE_ENVVARS=/etc/apache2/envvars",
"command_snippet": "ENV APACHE_ENVVARS=/etc/apache2/envvars",
"command_all": "ENV APACHE_ENVVARS=/etc/apache2/envvars"
},
{
"type": "RUN",
"time": "2022-10-05T07:09:00Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 46010241,
"size_human": "46 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 apache2; \trm -rf /var/lib/apt/lists/*; \t\tsed -ri 's/^export ([^=]+)=(.*)$/: ${\\1:=\\2}\\nexport \\1/' \"$APACHE_ENVVARS\"; \t\t. \"$APACHE_ENVVARS\"; \tfor dir in \t\t\"$APACHE_LOCK_DIR\" \t\t\"$APACHE_RUN_DIR\" \t\t\"$APACHE_LOG_DIR\" \t; do \t\trm -rvf \"$dir\"; \t\tmkdir -p \"$dir\"; \t\tchown \"$APACHE_RUN_USER:$APACHE_RUN_GROUP\" \"$dir\"; \t\tchmod 777 \"$dir\"; \tdone; \t\trm -rvf /var/www/html/*; \t\tln -sfT /dev/stderr \"$APACHE_LOG_DIR/error.log\"; \tln -sfT /dev/stdout \"$APACHE_LOG_DIR/access.log\"; \tln -sfT /dev/stdout \"$APACHE_LOG_DIR/other_vhosts_access.log\"; \tchown -R --no-dereference \"$APACHE_RUN_USER:$APACHE_RUN_GROUP\" \"$APACHE_LOG_DIR\"",
"system_commands": [
"set -eux",
"apt-get update",
"apt-get install -y --no-install-recommends apache2",
"rm -rf /var/lib/apt/lists/*",
"sed -ri 's/^export ([^=]+)=(.*)$/: ${1:=2}nexport 1/' \"$APACHE_ENVVARS\"",
". \"$APACHE_ENVVARS\"",
"for dir in \"$APACHE_LOCK_DIR\" \"$APACHE_RUN_DIR\" \"$APACHE_LOG_DIR\"",
"do rm -rvf \"$dir\"",
"mkdir -p \"$dir\"",
"chown \"$APACHE_RUN_USER:$APACHE_RUN_GROUP\" \"$dir\"",
"chmod 777 \"$dir\"",
"done",
"rm -rvf /var/www/html/*",
"ln -sfT /dev/stderr \"$APACHE_LOG_DIR/error.log\"",
"ln -sfT /dev/stdout \"$APACHE_LOG_DIR/access.log\"",
"ln -sfT /dev/stdout \"$APACHE_LOG_DIR/other_vhosts_access.log\"",
"chown -R --no-dereference \"$APACHE_RUN_USER:$APACHE_RUN_GROUP\" \"$APACHE_LOG_DIR\""
]
},
{
"type": "RUN",
"time": "2022-10-05T07:09:01Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 68,
"size_human": "68 B",
"command_snippet": "RUN a2dismod mpm_event && \\\n\ta2enmod mpm_pre...",
"command_all": "RUN a2dismod mpm_event && \\\n\ta2enmod mpm_prefork",
"system_commands": [
"a2dismod mpm_event",
"a2enmod mpm_prefork"
]
},
{
"type": "RUN",
"time": "2022-10-05T07:09:02Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 237,
"size_human": "237 B",
"command_snippet": "RUN { \t\techo '<FilesMatch \\.php$>'; \t\techo '...",
"command_all": "RUN { \t\techo '<FilesMatch \\.php$>'; \t\techo '\\tSetHandler application/x-httpd-php'; \t\techo '</FilesMatch>'; \t\techo; \t\techo 'DirectoryIndex disabled'; \t\techo 'DirectoryIndex index.php index.html'; \t\techo; \t\techo '<Directory /var/www/>'; \t\techo '\\tOptions -Indexes'; \t\techo '\\tAllowOverride All'; \t\techo '</Directory>'; \t} | tee \"$APACHE_CONFDIR/conf-available/docker-php.conf\" && \\\n\ta2enconf docker-php",
"system_commands": [
"{ echo '<FilesMatch .php$>'; echo 'tSetHandler application/x-httpd-php'; echo '</FilesMatch>'; echo; echo 'DirectoryIndex disabled'; echo 'DirectoryIndex index.php index.html'; echo; echo '<Directory /var/www/>'; echo 'tOptions -Indexes'; echo 'tAllowOverride All'; echo '</Directory>'; } | tee \"$APACHE_CONFDIR/conf-available/docker-php.conf\"",
"a2enconf docker-php"
]
},
{
"type": "ENV",
"time": "2022-10-05T07:09:02Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
"command_snippet": "ENV PHP_CFLAGS=-fstack-protector-strong -fpi...",
"command_all": "ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
},
{
"type": "ENV",
"time": "2022-10-05T07:09:03Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
"command_snippet": "ENV PHP_CPPFLAGS=-fstack-protector-strong -f...",
"command_all": "ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
},
{
"type": "ENV",
"time": "2022-10-05T07:09:04Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "PHP_LDFLAGS=-Wl,-O1 -pie",
"command_snippet": "ENV PHP_LDFLAGS=-Wl,-O1 -pie",
"command_all": "ENV PHP_LDFLAGS=-Wl,-O1 -pie"
},
{
"type": "ENV",
"time": "2022-10-05T07:43:01Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "GPG_KEYS=528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD",
"command_snippet": "ENV GPG_KEYS=528995BFEDFBA7191D46839EF9BA0AD...",
"command_all": "ENV GPG_KEYS=528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD"
},
{
"type": "ENV",
"time": "2022-10-05T07:43:02Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "PHP_VERSION=8.1.11",
"command_snippet": "ENV PHP_VERSION=8.1.11",
"command_all": "ENV PHP_VERSION=8.1.11"
},
{
"type": "ENV",
"time": "2022-10-05T07:43:03Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "PHP_URL=https://www.php.net/distributions/php-8.1.11.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.1.11.tar.xz.asc",
"command_snippet": "ENV PHP_URL=https://www.php.net/distribution...",
"command_all": "ENV PHP_URL=https://www.php.net/distributions/php-8.1.11.tar.xz PHP_ASC_URL=https://www.php.net/distributions/php-8.1.11.tar.xz.asc"
},
{
"type": "ENV",
"time": "2022-10-05T07:43:04Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "PHP_SHA256=3005198d7303f87ab31bc30695de76e8ad62783f806b6ab9744da59fe41cc5bd",
"command_snippet": "ENV PHP_SHA256=3005198d7303f87ab31bc30695de7...",
"command_all": "ENV PHP_SHA256=3005198d7303f87ab31bc30695de76e8ad62783f806b6ab9744da59fe41cc5bd"
},
{
"type": "RUN",
"time": "2022-10-05T07:43:16Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 12269333,
"size_human": "12 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 gnupg dirmngr; \trm -rf /var/lib/apt/lists/*; \t\tmkdir -p /usr/src; \tcd /usr/src; \t\tcurl -fsSL -o php.tar.xz \"$PHP_URL\"; \t\tif [ -n \"$PHP_SHA256\" ]; then \t\techo \"$PHP_SHA256 *php.tar.xz\" | sha256sum -c -; \tfi; \t\tif [ -n \"$PHP_ASC_URL\" ]; then \t\tcurl -fsSL -o php.tar.xz.asc \"$PHP_ASC_URL\"; \t\texport GNUPGHOME=\"$(mktemp -d)\"; \t\tfor key in $GPG_KEYS; do \t\t\tgpg --batch --keyserver keyserver.ubuntu.com --recv-keys \"$key\"; \t\tdone; \t\tgpg --batch --verify php.tar.xz.asc php.tar.xz; \t\tgpgconf --kill all; \t\trm -rf \"$GNUPGHOME\"; \tfi; \t\tapt-mark auto '.*' > /dev/null; \tapt-mark manual $savedAptMark > /dev/null; \tapt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false",
"system_commands": [
"set -eux",
"savedAptMark=\"$(apt-mark showmanual)\"",
"apt-get update",
"apt-get install -y --no-install-recommends gnupg dirmngr",
"rm -rf /var/lib/apt/lists/*",
"mkdir -p /usr/src",
"cd /usr/src",
"curl -fsSL -o php.tar.xz \"$PHP_URL\"",
"if [ -n \"$PHP_SHA256\" ]",
"then echo \"$PHP_SHA256 *php.tar.xz\" | sha256sum -c -",
"fi",
"if [ -n \"$PHP_ASC_URL\" ]",
"then curl -fsSL -o php.tar.xz.asc \"$PHP_ASC_URL\"",
"export GNUPGHOME=\"$(mktemp -d)\"",
"for key in $GPG_KEYS",
"do gpg --batch --keyserver keyserver.ubuntu.com --recv-keys \"$key\"",
"done",
"gpg --batch --verify php.tar.xz.asc php.tar.xz",
"gpgconf --kill all",
"rm -rf \"$GNUPGHOME\"",
"fi",
"apt-mark auto '.*' > /dev/null",
"apt-mark manual $savedAptMark > /dev/null",
"apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false"
]
},
{
"type": "COPY",
"time": "2022-10-05T07:43:17Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 587,
"size_human": "587 B",
"params": "file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 in /usr/local/bin/",
"command_snippet": "COPY file:ce57c04b70896f77cc11eb2766417d8a12...",
"command_all": "COPY file:ce57c04b70896f77cc11eb2766417d8a1240fcffe5bba92179ec78c458844110 /usr/local/bin/",
"target": "/usr/local/bin/",
"source_type": "file"
},
{
"type": "RUN",
"time": "2022-10-05T07:46:55Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 45528057,
"size_human": "46 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\tapache2-dev \t\tlibargon2-dev \t\tlibcurl4-openssl-dev \t\tlibonig-dev \t\tlibreadline-dev \t\tlibsodium-dev \t\tlibsqlite3-dev \t\tlibssl-dev \t\tlibxml2-dev \t\tzlib1g-dev \t; \t\texport \t\tCFLAGS=\"$PHP_CFLAGS\" \t\tCPPFLAGS=\"$PHP_CPPFLAGS\" \t\tLDFLAGS=\"$PHP_LDFLAGS\" \t; \tdocker-php-source extract; \tcd /usr/src/php; \tgnuArch=\"$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)\"; \tdebMultiarch=\"$(dpkg-architecture --query DEB_BUILD_MULTIARCH)\"; \tif [ ! -d /usr/include/curl ]; then \t\tln -sT \"/usr/include/$debMultiarch/curl\" /usr/local/include/curl; \tfi; \t./configure \t\t--build=\"$gnuArch\" \t\t--with-config-file-path=\"$PHP_INI_DIR\" \t\t--with-config-file-scan-dir=\"$PHP_INI_DIR/conf.d\" \t\t\t\t--enable-option-checking=fatal \t\t\t\t--with-mhash \t\t\t\t--with-pic \t\t\t\t--enable-ftp \t\t--enable-mbstring \t\t--enable-mysqlnd \t\t--with-password-argon2 \t\t--with-sodium=shared \t\t--with-pdo-sqlite=/usr \t\t--with-sqlite3=/usr \t\t\t\t--with-curl \t\t--with-iconv \t\t--with-openssl \t\t--with-readline \t\t--with-zlib \t\t\t\t--disable-phpdbg \t\t\t\t--with-pear \t\t\t\t$(test \"$gnuArch\" = 's390x-linux-gnu' && \\\n\techo '--without-pcre-jit') \t\t--with-libdir=\"lib/$debMultiarch\" \t\t\t\t--disable-cgi \t\t\t\t--with-apxs2 \t; \tmake -j \"$(nproc)\"; \tfind -type f -name '*.a' -delete; \tmake install; \tfind \t\t/usr/local \t\t-type f \t\t-perm '/0111' \t\t-exec sh -euxc ' \t\t\tstrip --strip-all \"$@\" || : \t\t' -- '{}' + \t; \tmake clean; \t\tcp -v php.ini-* \"$PHP_INI_DIR/\"; \t\tcd /; \tdocker-php-source delete; \t\tapt-mark auto '.*' > /dev/null; \t[ -z \"$savedAptMark\" ] || apt-mark manual $savedAptMark; \tfind /usr/local -type f -executable -exec ldd '{}' ';' \t\t| awk '/=>/ { 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; \tapt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \trm -rf /var/lib/apt/lists/*; \t\tpecl update-channels; \trm -rf /tmp/pear ~/.pearrc; \t\tphp --version",
"system_commands": [
"set -eux; savedAptMark=\"$(apt-mark showmanual)\"; apt-get update; apt-get install -y --no-install-recommends apache2-dev libargon2-dev libcurl4-openssl-dev libonig-dev libreadline-dev libsodium-dev libsqlite3-dev libssl-dev libxml2-dev zlib1g-dev ; export CFLAGS=\"$PHP_CFLAGS\" CPPFLAGS=\"$PHP_CPPFLAGS\" LDFLAGS=\"$PHP_LDFLAGS\" ; docker-php-source extract; cd /usr/src/php; gnuArch=\"$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)\"; debMultiarch=\"$(dpkg-architecture --query DEB_BUILD_MULTIARCH)\"; if [ ! -d /usr/include/curl ]; then ln -sT \"/usr/include/$debMultiarch/curl\" /usr/local/include/curl; fi; ./configure --build=\"$gnuArch\" --with-config-file-path=\"$PHP_INI_DIR\" --with-config-file-scan-dir=\"$PHP_INI_DIR/conf.d\" --enable-option-checking=fatal --with-mhash --with-pic --enable-ftp --enable-mbstring --enable-mysqlnd --with-password-argon2 --with-sodium=shared --with-pdo-sqlite=/usr --with-sqlite3=/usr --with-curl --with-iconv --with-openssl --with-readline --with-zlib --disable-phpdbg --with-pear $(test \"$gnuArch\" = 's390x-linux-gnu'",
"echo '--without-pcre-jit') --with-libdir=\"lib/$debMultiarch\" --disable-cgi --with-apxs2 ; make -j \"$(nproc)\"; find -type f -name '*.a' -delete; make install; find /usr/local -type f -perm '/0111' -exec sh -euxc ' strip --strip-all \"$@\" || : ' -- '{}' + ; make clean; cp -v php.ini-* \"$PHP_INI_DIR/\"; cd /; docker-php-source delete; apt-mark auto '.*' > /dev/null; [ -z \"$savedAptMark\" ] || apt-mark manual $savedAptMark; find /usr/local -type f -executable -exec ldd '{}' ';' | awk '/=>/ { print $(NF-1) }' | 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/*; pecl update-channels; rm -rf /tmp/pear ~/.pearrc; php --version"
]
},
{
"type": "COPY",
"time": "2022-10-05T07:46:56Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 7214,
"size_human": "7.2 kB",
"params": "multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 in /usr/local/bin/",
"command_snippet": "COPY multi:e11221d43af7136e4dbad5a74e659bcfa...",
"command_all": "COPY multi:e11221d43af7136e4dbad5a74e659bcfa753214a9e615c3daf357f1633d9d3d1 /usr/local/bin/",
"target": "/usr/local/bin/",
"source_type": "multi"
},
{
"type": "RUN",
"time": "2022-10-05T07:46:56Z",
"is_nop": false,
"local_image_exists": false,
"layer_index": 0,
"size": 17,
"size_human": "17 B",
"command_snippet": "RUN docker-php-ext-enable sodium",
"command_all": "RUN docker-php-ext-enable sodium",
"system_commands": [
"docker-php-ext-enable sodium"
]
},
{
"type": "ENTRYPOINT",
"time": "2022-10-05T07:46:57Z",
"is_nop": true,
"is_exec_form": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "[\"docker-php-entrypoint\"]\n",
"command_snippet": "ENTRYPOINT [\"docker-php-entrypoint\"]\n",
"command_all": "ENTRYPOINT [\"docker-php-entrypoint\"]\n"
},
{
"type": "STOPSIGNAL",
"time": "2022-10-05T07:46:58Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "SIGWINCH",
"command_snippet": "STOPSIGNAL SIGWINCH",
"command_all": "STOPSIGNAL SIGWINCH"
},
{
"type": "COPY",
"time": "2022-10-05T07:47:00Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 1346,
"size_human": "1.3 kB",
"params": "file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 in /usr/local/bin/",
"command_snippet": "COPY file:e3123fcb6566efa979f945bfac1c94c854...",
"command_all": "COPY file:e3123fcb6566efa979f945bfac1c94c854a559d7b82723e42118882a8ac4de66 /usr/local/bin/",
"target": "/usr/local/bin/",
"source_type": "file"
},
{
"type": "WORKDIR",
"time": "2022-10-05T07:47:00Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "/var/www/html",
"command_snippet": "WORKDIR /var/www/html",
"command_all": "WORKDIR /var/www/html",
"system_commands": [
"mkdir -p /var/www/html"
]
},
{
"type": "EXPOSE",
"time": "2022-10-05T07:47:01Z",
"is_nop": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "80",
"command_snippet": "EXPOSE 80",
"command_all": "EXPOSE 80"
},
{
"type": "CMD",
"time": "2022-10-05T07:47:02Z",
"is_nop": true,
"is_exec_form": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"params": "[\"apache2-foreground\"]\n",
"command_snippet": "CMD [\"apache2-foreground\"]\n",
"command_all": "CMD [\"apache2-foreground\"]\n"
},
{
"type": "RUN",
"time": "2022-10-22T23:43:40Z",
"is_nop": false,
"is_exec_form": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"command_snippet": "RUN [\"ARG\",\"TZ\"]",
"command_all": "RUN [\"ARG\",\"TZ\"]",
"system_commands": [
"[\"ARG\",\"TZ\"]"
],
"comment": "buildkit.dockerfile.v0"
},
{
"type": "RUN",
"time": "2022-10-22T23:43:40Z",
"is_nop": false,
"is_exec_form": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"command_snippet": "RUN [\"ENV\",\"APACHE_DOCUMENT_ROOT=/var/www/ht...",
"command_all": "RUN [\"ENV\",\"APACHE_DOCUMENT_ROOT=/var/www/html/public\"]",
"system_commands": [
"[\"ENV\",\"APACHE_DOCUMENT_ROOT=/var/www/html/public\"]"
],
"comment": "buildkit.dockerfile.v0"
},
{
"type": "RUN",
"time": "2022-10-22T23:43:40Z",
"is_nop": false,
"is_exec_form": true,
"local_image_exists": false,
"layer_index": 0,
"size": 0,
"command_snippet": "RUN [\"RUN\",\"|1\",\"TZ=America/New_York\",\"/bin/...",
"command_all": "RUN [\"RUN\",\"|1\",\"TZ=America/New_York\",\"/bin/sh\",\"-c\",\"ln\",\"-sf\",\"/usr/share/zoneinfo/$TZ\",\"/etc/localtime\"]",
"system_commands": [
"[\"RUN\",\"|1\",\"TZ=America/New_York\",\"/bin/sh\",\"-c\",\"ln\",\"-sf\",\"/usr/share/zoneinfo/$TZ\",\"/etc/localtime\"]"
],
"comment": "buildkit.dockerfile.v0"
},
{
"type": "RUN",
"time": "2022-10-22T23:43:40Z",
"is_nop": false,
"is_exec_form": true,
"local_image_exists": false,
"layer_index": 0,
"size": 7690,
"size_human": "7.7 kB",
"command_snippet": "RUN [\"RUN\",\"|1\",\"TZ=America/New_York\",\"/bin/...",
"command_all": "RUN [\"RUN\",\"|1\",\"TZ=America/New_York\",\"/bin/sh\",\"-c\",\"sed\",\"-ri\",\"-e\",\"s!/var/www/html!${APACHE_DOCUMENT_ROOT}!g\",\"/etc/apache2/sites-available/*.conf\"]",
"system_commands": [
"[\"RUN\",\"|1\",\"TZ=America/New_York\",\"/bin/sh\",\"-c\",\"sed\",\"-ri\",\"-e\",\"s!/var/www/html!${APACHE_DOCUMENT_ROOT}!g\",\"/etc/apache2/sites-available/*.conf\"]"
],
"comment": "buildkit.dockerfile.v0"
},
{
"type": "RUN",
"time": "2022-10-22T23:43:41Z",
"is_last_instruction": true,
"is_nop": false,
"is_exec_form": true,
"local_image_exists": true,
"layer_index": 0,
"size": 13813,
"size_human": "14 kB",
"command_snippet": "RUN [\"RUN\",\"|1\",\"TZ=America/New_York\",\"/bin/...",
"command_all": "RUN [\"RUN\",\"|1\",\"TZ=America/New_York\",\"/bin/sh\",\"-c\",\"sed\",\"-ri\",\"-e\",\"s!/var/www/!${APACHE_DOCUMENT_ROOT}!g\",\"/etc/apache2/apache2.conf\",\"/etc/apache2/conf-available/*.conf\"]",
"system_commands": [
"[\"RUN\",\"|1\",\"TZ=America/New_York\",\"/bin/sh\",\"-c\",\"sed\",\"-ri\",\"-e\",\"s!/var/www/!${APACHE_DOCUMENT_ROOT}!g\",\"/etc/apache2/apache2.conf\",\"/etc/apache2/conf-available/*.conf\"]"
],
"comment": "buildkit.dockerfile.v0",
"raw_tags": [
"ngocphamm/quiethnphp:latest"
]
}
]
}
]
}