This is an automated email from the ASF dual-hosted git repository.
kevinjqliu pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git
The following commit(s) were added to refs/heads/main by this push:
new 0e019221e infra: auto update docker image (#2044)
0e019221e is described below
commit 0e019221e9a220aed8745870f80c7df3d74ea4b0
Author: Kevin Liu <[email protected]>
AuthorDate: Sun Jan 18 21:51:24 2026 -0500
infra: auto update docker image (#2044)
## Which issue does this PR close?
<!--
We generally require a GitHub issue to be filed for all bug fixes and
enhancements and this helps us generate change logs for our releases.
You can link an issue to this PR using the GitHub syntax. For example
`Closes #123` indicates that this PR will close issue #123.
-->
- Closes #.
## What changes are included in this PR?
Similar to https://github.com/apache/iceberg-python/pull/2885
Add the `--build` flag to `docker compose up`. This will trigger docker
to rebuild if the docker-compose file or the Dockerfile is changed.
Without `--build`, changes to `Dockerfile` will not trigger a new image
build and we might accidentally still be using the old image thinking
its updated
<!--
Provide a summary of the modifications in this PR. List the main changes
such as new features, bug fixes, refactoring, or any other updates.
-->
## Are these changes tested?
<!--
Specify what test covers (unit test, integration test, etc.).
If tests are not included in your PR, please explain why (for example,
are they covered by existing tests)?
-->
---------
Co-authored-by: Renjie Liu <[email protected]>
---
crates/test_utils/src/docker.rs | 1 +
1 file changed, 1 insertion(+)
diff --git a/crates/test_utils/src/docker.rs b/crates/test_utils/src/docker.rs
index 1a6e883fd..078966ddb 100644
--- a/crates/test_utils/src/docker.rs
+++ b/crates/test_utils/src/docker.rs
@@ -79,6 +79,7 @@ impl DockerCompose {
self.project_name.as_str(),
"up",
"-d",
+ "--build",
"--wait",
"--timeout",
"1200000",