Add missing requirement boost-json to Dockerfile #4888
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Prelude
Changes Proposed
This just add a missing dependency boost-json to Dockerfile
without it running the resulting docker container is going to throw the following error:
Error loading shared library libboost_json.so.1.82.0: No such file or directory (needed by /bin/tfs) Error relocating /bin/tfs: _ZN5boost4json5arrayC1ERKS1_NS0_11storage_ptrE: symbol not found Error relocating /bin/tfs: _ZN5boost4json6objectC1ERKS1_NS0_11storage_ptrE: symbol not found Error relocating /bin/tfs: _ZNK5boost4json6object11if_containsENS_4core17basic_string_viewIcEE: symbol not found Error relocating /bin/tfs: _ZN5boost4json18monotonic_resourceC1EmNS0_11storage_ptrE: symbol not found Error relocating /bin/tfs: _ZN5boost4json5arrayD1Ev: symbol not found Error relocating /bin/tfs: _ZN5boost4json5arrayC1ESt16initializer_listINS0_9value_refEENS0_11storage_ptrE: symbol not found Error relocating /bin/tfs: _ZN5boost4json5parseENS_4core17basic_string_viewIcEERNS_6system10error_codeENS0_11storage_ptrERKNS0_13parse_optionsE: symbol not found Error relocating /bin/tfs: _ZN5boost4json5valueaSENS_4core17basic_string_viewIcEE: symbol not found Error relocating /bin/tfs: _ZN5boost4json5value7destroyEv: symbol not found Error relocating /bin/tfs: _ZN5boost4json5valueC1ERKS1_NS0_11storage_ptrE: symbol not found Error relocating /bin/tfs: _ZN5boost4json9serializeB5cxx11ERKNS0_5valueE: symbol not found Error relocating /bin/tfs: _ZN5boost4json6objectixENS_4core17basic_string_viewIcEE: symbol not found Error relocating /bin/tfs: _ZN5boost4json5valueC1ESt16initializer_listINS0_9value_refEENS0_11storage_ptrE: symbol not found Error relocating /bin/tfs: _ZN5boost4json5valueD1Ev: symbol not found Error relocating /bin/tfs: _ZN5boost4json6objectD1Ev: symbol not found Error relocating /bin/tfs: _ZN5boost4json5array9push_backEONS0_5valueE: symbol not found Error relocating /bin/tfs: _ZN5boost4json6objectC1EOS1_: symbol not found Error relocating /bin/tfs: _ZN5boost4json18monotonic_resourceD1Ev: symbol not found Error relocating /bin/tfs: _ZN5boost4json6object6empty_E: symbol not found Error relocating /bin/tfs: _ZN5boost4json5array6empty_E: symbol not found
Issues addressed: #4890
How to test:
build the container
docker build -t server .
run the container
docker run server
[Error - ConfigManager::load] cannot open config.lua: No such file or directory ERROR: Unable to load config.lua! No services running. The server is NOT online.