Optimize Docker build

This commit is contained in:
2026-01-05 19:04:40 +01:00
parent 36cb87dd84
commit 7e3152c9ca
71 changed files with 256197 additions and 4 deletions

View File

@@ -0,0 +1,16 @@
{"t":{"$date":"2026-01-04T11:15:29.735Z"},"s":"E","c":"MONGOSH","id":1000000006,"ctx":"telemetry","msg":"Error: Failed to resolve machine ID","attr":{"stack":"Error: Failed to resolve machine ID\n at i (eval at module.exports (node:lib-boxednode/mongosh:103:20), <anonymous>:341:194641)\n at async LoggingAndTelemetry.setupTelemetry (eval at module.exports (node:lib-boxednode/mongosh:103:20), <anonymous>:341:305227)","name":"Error","message":"Failed to resolve machine ID","code":null}}
{"t":{"$date":"2026-01-04T11:15:29.747Z"},"s":"I","c":"MONGOSH","id":1000000005,"ctx":"config","msg":"User updated"}
{"t":{"$date":"2026-01-04T11:15:29.750Z"},"s":"I","c":"MONGOSH","id":1000000048,"ctx":"config","msg":"Loading global configuration file","attr":{"filename":"/etc/mongosh.conf","found":false}}
{"t":{"$date":"2026-01-04T11:15:29.750Z"},"s":"I","c":"MONGOSH","id":1000000000,"ctx":"log","msg":"Starting log","attr":{"execPath":"/usr/bin/mongosh","envInfo":{"EDITOR":null,"NODE_OPTIONS":null,"TERM":null},"installationMethod":"linux-system-wide","version":"2.5.10","distributionKind":"compiled","buildArch":"x64","buildPlatform":"linux","buildTarget":"linux-x64","buildTime":"2025-11-27T17:56:51.091Z","gitVersion":"82b71966b2e73009dcd3897f2e94ab3e952e5934","nodeVersion":"v20.19.6","opensslVersion":"3.0.17","sharedOpenssl":false,"runtimeArch":"x64","runtimePlatform":"linux","runtimeGlibcVersion":"2.39","deps":{"nodeDriverVersion":"6.19.0","libmongocryptVersion":"1.15.1","libmongocryptNodeBindingsVersion":"6.5.0","kerberosVersion":"2.1.0"}}}
{"t":{"$date":"2026-01-04T11:15:29.805Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000049,"ctx":"mongosh-connect","msg":"Loaded system CA list","attr":{"caCount":292,"asyncFallbackError":null,"systemCertsError":null,"messages":[]}}
{"t":{"$date":"2026-01-04T11:15:29.814Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000042,"ctx":"mongosh-connect","msg":"Initiating connection attempt","attr":{"uri":"mongodb://127.0.0.1:27017/admin?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.5.10","driver":{"name":"nodejs|mongosh","version":"6.19.0|2.5.10"},"devtoolsConnectVersion":"3.9.4","host":"127.0.0.1:27017"}}
{"t":{"$date":"2026-01-04T11:15:29.818Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000035,"ctx":"mongosh-connect","msg":"Server heartbeat succeeded","attr":{"connectionId":"127.0.0.1:27017"}}
{"t":{"$date":"2026-01-04T11:15:29.849Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000037,"ctx":"mongosh-connect","msg":"Connection attempt finished"}
{"t":{"$date":"2026-01-04T11:15:29.858Z"},"s":"I","c":"MONGOSH","id":1000000010,"ctx":"shell-api","msg":"Initialized context","attr":{"method":"setCtx","arguments":{}}}
{"t":{"$date":"2026-01-04T11:15:29.860Z"},"s":"I","c":"MONGOSH-SNIPPETS","id":1000000024,"ctx":"snippets","msg":"Fetching snippet index","attr":{"refreshMode":"allow-cached"}}
{"t":{"$date":"2026-01-04T11:15:29.861Z"},"s":"I","c":"MONGOSH-SNIPPETS","id":1000000019,"ctx":"snippets","msg":"Loaded snippets","attr":{"installdir":"/data/db/.mongodb/mongosh/snippets"}}
{"t":{"$date":"2026-01-04T11:15:29.917Z"},"s":"I","c":"MONGOSH-SNIPPETS","id":1000000028,"ctx":"snippets","msg":"Modifying snippets package.json failed","attr":{"error":"ENOENT: no such file or directory, open '/data/db/.mongodb/mongosh/snippets/package.json'"}}
{"t":{"$date":"2026-01-04T11:15:29.921Z"},"s":"I","c":"MONGOSH","id":1000000004,"ctx":"connect","msg":"Connecting to server","attr":{"userId":null,"telemetryAnonymousId":"695a4bd1995a4f9c1c8de664","connectionUri":"mongodb://127.0.0.1:27017/admin?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.5.10","is_localhost":true,"is_do_url":false,"is_atlas_url":false,"is_atlas":false,"server_version":"8.2.3","node_version":"v20.19.6","server_os":"linux","server_arch":"x86_64","is_enterprise":false,"auth_type":null,"is_data_federation":false,"is_stream":false,"dl_version":null,"atlas_version":null,"is_genuine":true,"non_genuine_server_name":"mongodb","is_local_atlas":false,"fcv":"8.2","api_version":null,"api_strict":null,"api_deprecation_errors":null,"atlas_hostname":null}}
{"t":{"$date":"2026-01-04T11:15:29.921Z"},"s":"I","c":"MONGOSH","id":1000000002,"ctx":"repl","msg":"Started REPL","attr":{"version":"2.5.10"}}
{"t":{"$date":"2026-01-04T11:15:29.988Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"createUser","class":"Database","db":"admin","arguments":{}}}
{"t":{"$date":"2026-01-04T11:15:30.031Z"},"s":"I","c":"MONGOSH","id":1000000045,"ctx":"analytics","msg":"Flushed outstanding data","attr":{"flushError":"Trying to persist throttle state before userId is set","flushDuration":0}}

View File

@@ -0,0 +1,14 @@
{"t":{"$date":"2026-01-04T11:15:29.370Z"},"s":"E","c":"MONGOSH","id":1000000006,"ctx":"telemetry","msg":"Error: Failed to resolve machine ID","attr":{"stack":"Error: Failed to resolve machine ID\n at i (eval at module.exports (node:lib-boxednode/mongosh:103:20), <anonymous>:341:194641)\n at async LoggingAndTelemetry.setupTelemetry (eval at module.exports (node:lib-boxednode/mongosh:103:20), <anonymous>:341:305227)","name":"Error","message":"Failed to resolve machine ID","code":null}}
{"t":{"$date":"2026-01-04T11:15:29.386Z"},"s":"I","c":"MONGOSH","id":1000000048,"ctx":"config","msg":"Loading global configuration file","attr":{"filename":"/etc/mongosh.conf","found":false}}
{"t":{"$date":"2026-01-04T11:15:29.390Z"},"s":"I","c":"MONGOSH","id":1000000000,"ctx":"log","msg":"Starting log","attr":{"execPath":"/usr/bin/mongosh","envInfo":{"EDITOR":null,"NODE_OPTIONS":null,"TERM":null},"installationMethod":"linux-system-wide","version":"2.5.10","distributionKind":"compiled","buildArch":"x64","buildPlatform":"linux","buildTarget":"linux-x64","buildTime":"2025-11-27T17:56:51.091Z","gitVersion":"82b71966b2e73009dcd3897f2e94ab3e952e5934","nodeVersion":"v20.19.6","opensslVersion":"3.0.17","sharedOpenssl":false,"runtimeArch":"x64","runtimePlatform":"linux","runtimeGlibcVersion":"2.39","deps":{"nodeDriverVersion":"6.19.0","libmongocryptVersion":"1.15.1","libmongocryptNodeBindingsVersion":"6.5.0","kerberosVersion":"2.1.0"}}}
{"t":{"$date":"2026-01-04T11:15:29.523Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000049,"ctx":"mongosh-connect","msg":"Loaded system CA list","attr":{"caCount":292,"asyncFallbackError":null,"systemCertsError":null,"messages":[]}}
{"t":{"$date":"2026-01-04T11:15:29.532Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000042,"ctx":"mongosh-connect","msg":"Initiating connection attempt","attr":{"uri":"mongodb://127.0.0.1:27017/admin?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.5.10","driver":{"name":"nodejs|mongosh","version":"6.19.0|2.5.10"},"devtoolsConnectVersion":"3.9.4","host":"127.0.0.1:27017"}}
{"t":{"$date":"2026-01-04T11:15:29.536Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000035,"ctx":"mongosh-connect","msg":"Server heartbeat succeeded","attr":{"connectionId":"127.0.0.1:27017"}}
{"t":{"$date":"2026-01-04T11:15:29.570Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000037,"ctx":"mongosh-connect","msg":"Connection attempt finished"}
{"t":{"$date":"2026-01-04T11:15:29.571Z"},"s":"I","c":"MONGOSH","id":1000000010,"ctx":"shell-api","msg":"Initialized context","attr":{"method":"setCtx","arguments":{}}}
{"t":{"$date":"2026-01-04T11:15:29.572Z"},"s":"I","c":"MONGOSH-SNIPPETS","id":1000000019,"ctx":"snippets","msg":"Loaded snippets","attr":{"installdir":"/data/db/.mongodb/mongosh/snippets"}}
{"t":{"$date":"2026-01-04T11:15:29.579Z"},"s":"I","c":"MONGOSH","id":1000000003,"ctx":"repl","msg":"Start loading CLI scripts"}
{"t":{"$date":"2026-01-04T11:15:29.580Z"},"s":"I","c":"MONGOSH","id":1000000013,"ctx":"repl","msg":"Evaluating script passed on the command line"}
{"t":{"$date":"2026-01-04T11:15:29.580Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"quit(0)"}}
{"t":{"$date":"2026-01-04T11:15:29.581Z"},"s":"I","c":"MONGOSH","id":1000000004,"ctx":"connect","msg":"Connecting to server","attr":{"userId":null,"telemetryAnonymousId":"695a4bd1995a4f9c1c8de664","connectionUri":"mongodb://127.0.0.1:27017/admin?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.5.10","is_localhost":true,"is_do_url":false,"is_atlas_url":false,"is_atlas":false,"server_version":null,"node_version":"v20.19.6","server_os":null,"server_arch":null,"is_enterprise":false,"auth_type":null,"is_data_federation":false,"is_stream":false,"dl_version":null,"atlas_version":null,"is_genuine":true,"non_genuine_server_name":"mongodb","is_local_atlas":false,"fcv":null,"api_version":null,"api_strict":null,"api_deprecation_errors":null,"atlas_hostname":null}}
{"t":{"$date":"2026-01-04T11:15:29.581Z"},"s":"I","c":"MONGOSH","id":1000000045,"ctx":"analytics","msg":"Flushed outstanding data","attr":{"flushError":"Trying to persist throttle state before userId is set","flushDuration":0}}

View File

@@ -0,0 +1,21 @@
{"t":{"$date":"2026-01-04T11:15:30.172Z"},"s":"E","c":"MONGOSH","id":1000000006,"ctx":"telemetry","msg":"Error: Failed to resolve machine ID","attr":{"stack":"Error: Failed to resolve machine ID\n at i (eval at module.exports (node:lib-boxednode/mongosh:103:20), <anonymous>:341:194641)\n at async LoggingAndTelemetry.setupTelemetry (eval at module.exports (node:lib-boxednode/mongosh:103:20), <anonymous>:341:305227)","name":"Error","message":"Failed to resolve machine ID","code":null}}
{"t":{"$date":"2026-01-04T11:15:30.184Z"},"s":"I","c":"MONGOSH","id":1000000005,"ctx":"config","msg":"User updated"}
{"t":{"$date":"2026-01-04T11:15:30.186Z"},"s":"I","c":"MONGOSH","id":1000000048,"ctx":"config","msg":"Loading global configuration file","attr":{"filename":"/etc/mongosh.conf","found":false}}
{"t":{"$date":"2026-01-04T11:15:30.187Z"},"s":"I","c":"MONGOSH","id":1000000000,"ctx":"log","msg":"Starting log","attr":{"execPath":"/usr/bin/mongosh","envInfo":{"EDITOR":null,"NODE_OPTIONS":null,"TERM":null},"installationMethod":"linux-system-wide","version":"2.5.10","distributionKind":"compiled","buildArch":"x64","buildPlatform":"linux","buildTarget":"linux-x64","buildTime":"2025-11-27T17:56:51.091Z","gitVersion":"82b71966b2e73009dcd3897f2e94ab3e952e5934","nodeVersion":"v20.19.6","opensslVersion":"3.0.17","sharedOpenssl":false,"runtimeArch":"x64","runtimePlatform":"linux","runtimeGlibcVersion":"2.39","deps":{"nodeDriverVersion":"6.19.0","libmongocryptVersion":"1.15.1","libmongocryptNodeBindingsVersion":"6.5.0","kerberosVersion":"2.1.0"}}}
{"t":{"$date":"2026-01-04T11:15:30.240Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000049,"ctx":"mongosh-connect","msg":"Loaded system CA list","attr":{"caCount":292,"asyncFallbackError":null,"systemCertsError":null,"messages":[]}}
{"t":{"$date":"2026-01-04T11:15:30.249Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000042,"ctx":"mongosh-connect","msg":"Initiating connection attempt","attr":{"uri":"mongodb://127.0.0.1:27017/customer-db?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.5.10","driver":{"name":"nodejs|mongosh","version":"6.19.0|2.5.10"},"devtoolsConnectVersion":"3.9.4","host":"127.0.0.1:27017"}}
{"t":{"$date":"2026-01-04T11:15:30.253Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000035,"ctx":"mongosh-connect","msg":"Server heartbeat succeeded","attr":{"connectionId":"127.0.0.1:27017"}}
{"t":{"$date":"2026-01-04T11:15:30.271Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000037,"ctx":"mongosh-connect","msg":"Connection attempt finished"}
{"t":{"$date":"2026-01-04T11:15:30.272Z"},"s":"I","c":"MONGOSH","id":1000000010,"ctx":"shell-api","msg":"Initialized context","attr":{"method":"setCtx","arguments":{}}}
{"t":{"$date":"2026-01-04T11:15:30.273Z"},"s":"I","c":"MONGOSH-SNIPPETS","id":1000000019,"ctx":"snippets","msg":"Loaded snippets","attr":{"installdir":"/data/db/.mongodb/mongosh/snippets"}}
{"t":{"$date":"2026-01-04T11:15:30.276Z"},"s":"I","c":"MONGOSH","id":1000000003,"ctx":"repl","msg":"Start loading CLI scripts"}
{"t":{"$date":"2026-01-04T11:15:30.299Z"},"s":"I","c":"MONGOSH","id":1000000012,"ctx":"shell-api","msg":"Loading file via load()","attr":{"nested":false,"filename":"/docker-entrypoint-initdb.d/mongo-init.js"}}
{"t":{"$date":"2026-01-04T11:15:30.300Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"getSiblingDB","class":"Database","db":"customer-db","arguments":{"db":"customer-db"}}}
{"t":{"$date":"2026-01-04T11:15:30.300Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"createCollection","class":"Database","db":"customer-db","arguments":{"name":"messages","options":{}}}}
{"t":{"$date":"2026-01-04T11:15:30.302Z"},"s":"I","c":"MONGOSH","id":1000000004,"ctx":"connect","msg":"Connecting to server","attr":{"userId":null,"telemetryAnonymousId":"695a4bd1995a4f9c1c8de664","connectionUri":"mongodb://127.0.0.1:27017/customer-db?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.5.10","is_localhost":true,"is_do_url":false,"is_atlas_url":false,"is_atlas":false,"server_version":"8.2.3","node_version":"v20.19.6","server_os":"linux","server_arch":"x86_64","is_enterprise":false,"auth_type":null,"is_data_federation":false,"is_stream":false,"dl_version":null,"atlas_version":null,"is_genuine":true,"non_genuine_server_name":"mongodb","is_local_atlas":false,"fcv":"8.2","api_version":null,"api_strict":null,"api_deprecation_errors":null,"atlas_hostname":null}}
{"t":{"$date":"2026-01-04T11:15:30.308Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"createCollection","class":"Database","db":"customer-db","arguments":{"name":"clients","options":{}}}}
{"t":{"$date":"2026-01-04T11:15:30.313Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"createCollection","class":"Database","db":"customer-db","arguments":{"name":"rooms","options":{}}}}
{"t":{"$date":"2026-01-04T11:15:30.318Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"createCollection","class":"Database","db":"customer-db","arguments":{"name":"telemetry","options":{}}}}
{"t":{"$date":"2026-01-04T11:15:30.322Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"createCollection","class":"Database","db":"customer-db","arguments":{"name":"games","options":{}}}}
{"t":{"$date":"2026-01-04T11:15:30.327Z"},"s":"I","c":"MONGOSH","id":1000000011,"ctx":"shell-api","msg":"Performed API call","attr":{"method":"createUser","class":"Database","db":"customer-db","arguments":{}}}
{"t":{"$date":"2026-01-04T11:15:30.349Z"},"s":"I","c":"MONGOSH","id":1000000045,"ctx":"analytics","msg":"Flushed outstanding data","attr":{"flushError":"Trying to persist throttle state before userId is set","flushDuration":0}}

View File

@@ -0,0 +1 @@
{"userId":"695a4bd1995a4f9c1c8de664","telemetryAnonymousId":"695a4bd1995a4f9c1c8de664","enableTelemetry":true}

View File

@@ -0,0 +1 @@
{}

View File

@@ -0,0 +1,2 @@
WiredTiger
WiredTiger 12.0.0: (November 15, 2024)

View File

@@ -0,0 +1 @@
WiredTiger lock file

View File

@@ -0,0 +1,6 @@
WiredTiger version string
WiredTiger 12.0.0: (November 15, 2024)
WiredTiger version
major=12,minor=0,patch=0
file:WiredTiger.wt
access_pattern_hint=none,allocation_size=4KB,app_metadata=,assert=(commit_timestamp=none,durable_timestamp=none,read_timestamp=none,write_timestamp=off),block_allocation=best,block_compressor=,cache_resident=false,checksum=on,collator=,columns=,dictionary=0,encryption=(keyid=,name=),format=btree,huffman_key=,huffman_value=,id=0,ignore_in_memory_cache_size=false,internal_item_max=0,internal_key_max=0,internal_key_truncate=true,internal_page_max=4KB,key_format=S,key_gap=10,leaf_item_max=0,leaf_key_max=0,leaf_page_max=32KB,leaf_value_max=0,log=(enabled=true),memory_page_image_max=0,memory_page_max=5MB,os_cache_dirty_max=0,os_cache_max=0,prefix_compression=false,prefix_compression_min=4,readonly=false,split_deepen_min_child=0,split_deepen_per_child=0,split_pct=90,tiered_object=false,tiered_storage=(auth_token=,bucket=,bucket_prefix=,cache_directory=,local_retention=300,name=,object_target_size=0),value_format=S,verbose=[],version=(major=1,minor=1),write_timestamp_usage=none,checkpoint=(WiredTigerCheckpoint.1163=(addr="018a81e4851390718b81e41eb2ffed8c81e4a892de46808080e3015fc0e29fc0",order=1163,time=1767635405,size=53248,newest_start_durable_ts=0,oldest_start_ts=0,newest_txn=9,newest_stop_durable_ts=0,newest_stop_ts=-1,newest_stop_txn=-11,prepare=0,write_gen=3931,run_write_gen=3909)),checkpoint_backup_info=,checkpoint_lsn=(25,12032)

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,2 @@
WiredTiger
WiredTiger 12.0.0: (November 15, 2024)

View File

@@ -0,0 +1 @@
WiredTiger lock file

View File

@@ -0,0 +1,6 @@
WiredTiger version string
WiredTiger 12.0.0: (November 15, 2024)
WiredTiger version
major=12,minor=0,patch=0
file:WiredTiger.wt
access_pattern_hint=none,allocation_size=4KB,app_metadata=,assert=(commit_timestamp=none,durable_timestamp=none,read_timestamp=none,write_timestamp=off),block_allocation=best,block_compressor=,cache_resident=false,checksum=on,collator=,columns=,dictionary=0,encryption=(keyid=,name=),format=btree,huffman_key=,huffman_value=,id=0,ignore_in_memory_cache_size=false,internal_item_max=0,internal_key_max=0,internal_key_truncate=true,internal_page_max=4KB,key_format=S,key_gap=10,leaf_item_max=0,leaf_key_max=0,leaf_page_max=32KB,leaf_value_max=0,log=(enabled=true),memory_page_image_max=0,memory_page_max=5MB,os_cache_dirty_max=0,os_cache_max=0,prefix_compression=false,prefix_compression_min=4,readonly=false,split_deepen_min_child=0,split_deepen_per_child=0,split_pct=90,tiered_object=false,tiered_storage=(auth_token=,bucket=,bucket_prefix=,cache_directory=,local_retention=300,name=,object_target_size=0),value_format=S,verbose=[],version=(major=1,minor=1),write_timestamp_usage=none,checkpoint=(WiredTigerCheckpoint.4=(addr="018081e488e15b4b8181e454c359c08281e44dcb1384808080e26fc0cfc0",order=4,time=1767635405,size=8192,newest_start_durable_ts=0,oldest_start_ts=0,newest_txn=2,newest_stop_durable_ts=0,newest_stop_ts=-1,newest_stop_txn=-11,prepare=0,write_gen=8,run_write_gen=1)),checkpoint_backup_info=,checkpoint_lsn=(4294967295,2147483647)

Binary file not shown.

Binary file not shown.

View File

Binary file not shown.

Binary file not shown.