Repository navigation
fix: dockerignore config - #4578
Merged
Merged
Conversation
Signed-off-by: wanglei4687 <[email protected]>
Contributor
Author
yingfeng
approved these changes
Aug 18, 2022
fengttt
pushed a commit
to fengttt/matrixone
that referenced
this pull request
May 7, 2026
1. cago compiler with link system lib, so ignore cgo generate files `/usr/bin/ld` is my local Apple's linker For example: ``` #16 52.59 # github.com/matrixorigin/matrixone/cmd/db-server #16 52.59 /usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1 #16 52.59 /usr/bin/ld: /tmp/go-link-2126209758/000006.o: in function `_cgo_df8c56550131_Cfunc_Decimal128_Add': #16 52.59 decimal.cgo2.c:(.text+0x71): undefined reference to `Decimal128_Add' #16 52.59 /usr/bin/ld: /tmp/go-link-2126209758/000006.o: in function `_cgo_df8c56550131_Cfunc_Decimal128_AddDecimal64': #16 52.59 decimal.cgo2.c:(.text+0xcd): undefined reference to `Decimal128_AddDecimal64' #16 52.59 /usr/bin/ld: /tmp/go-link-2126209758/000006.o: in function `_cgo_df8c56550131_Cfunc_Decimal128_AddInt64': ``` 2. According to matrixorigin#4535, the `system_vars_config.toml` will be the default config and `make config` do not generate configuration files. So `system_vars_config.toml` should not be ignored. It's related to [optools/images/Dockerfile](https://github.com/matrixorigin/matrixone/blob/main/optools/images/Dockerfile) 3. Add some other generate files, like `gen_config` and ignore generate data at `store/`. 4. Fix config error Approved by: @yingfeng
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Signed-off-by: wanglei4687 [email protected]
What type of PR is this?
Which issue(s) this PR fixes:
issue #
What this PR does / why we need it:
/usr/bin/ldis my local Apple's linkerFor example:
According to Add the cn-service #4535, the
system_vars_config.tomlwill be the default config andmake configdo not generate configuration files. Sosystem_vars_config.tomlshould not be ignored. It's related to optools/images/DockerfileAdd some other generate files, like
gen_configand ignore generate data atstore/.Fix config error