Update submodule version and previewed docker image#3
Merged
Conversation
- Update ivy_duckdb submodule to 7a6d35e (origin/main, PR IvorySQL#3) - Bump IVORYSQL_BASE to 5.4-ubi8 in Dockerfile - Add Cargo.lock; update .gitignore
- Add ccache to the build toolchain; route C/C++ compiles through it via /usr/lib64/ccache in PATH (CCACHE_DIR=/ccache, MAXSIZE=10G) - Cache-mount cargo registry/git and target/ so Rust deps and build artifacts persist across rebuilds - Cache-mount /ccache on the DuckDB build so C++ objects survive layer invalidation - Merge cargo pgrx package + artifact collection into one RUN, since the cache-mounted target/ is not persisted into the next image layer First (cold) build is unchanged; subsequent rebuilds reuse cached objects.
Document registry.highgo.com/mooncake/ivy_mooncake:0.1 with a docker run example covering ports, password, and data/warehouse volumes.
Routing cargo's cc-rs through the global-PATH ccache wrapper broke the aws-lc-sys build: its prefixed .S assembly files fail under ccache with a silent exit 1 (empty stderr). DuckDB is pure C++ and is unaffected. Enable ccache only for `make ivy_duckdb` via an inline PATH, keep it off the global PATH, and drop the now-unused /ccache mount from the cargo package step. Rust dependencies remain cached via the target/ mount, so rebuild speed is preserved while the package step uses the real compiler. Verified: full image build succeeds, aws-lc-sys compiles, and the resulting image runs pg_mooncake end-to-end.
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.
No description provided.