Commit d0cbc19
authored
infra: auto update docker image (apache#2885)
<!--
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
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](https://github.com/apache/iceberg-python/blob/dea80784a5f9d6936a605c7ccb0f3f8d4ba30d9d/dev/spark/Dockerfile#L21).
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
<!-- In the case of user-facing changes, please add the changelog label.
-->1 parent 4ac3188 commit d0cbc19
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments