Skip to content

Conversation

@kevinjqliu
Copy link
Contributor

@kevinjqliu kevinjqliu commented Jan 5, 2026

Rationale for this change

Add the --build flag to docker compose up. This will trigger docker to rebuild if the docker-compose file or the Dockerfile is changed.

This is useful when we need to change the ICEBERG_VERSION in dev/spark/Dockerfile.
Previously, make integration will not pick up the new ICEBERG_VERSION change. It will only be picked up by rebuilding the image explicitly with make test-integration-rebuild.
With this PR, the ICEBERG_VERSION will be picked up automatically. The new Iceberg jar will be downloaded and the rest of the docker artifacts will be cached.

Are these changes tested?

Yes, locally using ICEBERG_VERSION=1.10.1

Are there any user-facing changes?

No

@kevinjqliu kevinjqliu force-pushed the kevinjqliu/auto-update-docker-image branch from 55630b4 to f87dc66 Compare January 5, 2026 23:40
Copy link
Contributor

@geruh geruh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this makes sense for development. Thanks @kevinjqliu!

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one @kevinjqliu 🙌 Thanks for the review @geruh

@Fokko Fokko merged commit d0cbc19 into apache:main Jan 6, 2026
10 checks passed
Fokko pushed a commit that referenced this pull request Jan 6, 2026
<!--
Thanks for opening a pull request!
-->

<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->

# Rationale for this change
New Iceberg Version. 

Relates to #2885
Let's get #2885 in before this PR

## Are these changes tested?

## Are there any user-facing changes?

<!-- In the case of user-facing changes, please add the changelog label.
-->
kevinjqliu added a commit to apache/iceberg-rust that referenced this pull request Jan 19, 2026
## 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 apache/iceberg-python#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 <liurenjie2008@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants