Skip to content

Conversation

@dominikhei
Copy link
Contributor

Closes #11688

I have added curl to the docker image. If you want me to adjust the contribution in any way, e.g to also clean up the package cache to save space, let me know.

@dominikhei dominikhei changed the title Added curl top the iceberg rest fixture Docker image #11688 Added curl to the iceberg rest fixture Docker image #11688 Dec 5, 2024
@Fokko
Copy link
Contributor

Fokko commented Dec 5, 2024

@dominikhei Thanks for working on this. As you already suggested, it would be good to also clean up afterward, see best practices of Docker: https://docs.docker.com/build/building/best-practices/#apt-get

@dominikhei
Copy link
Contributor Author

@Fokko I updated the PR!

@danielcweeks
Copy link
Contributor

@dominikhei if we're going to add curl, shouldn't we setup the healthcheck as well? It seems like it would make sense to tie this addition with its usage.

@dominikhei
Copy link
Contributor Author

@danielcweeks let me know if it is fine if I just probe the $REST_PORT .

@dominikhei
Copy link
Contributor Author

@Fokko Sorry, I did not see your message so far, thank you for the detailed explanation. I there anything left to do?

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.

@dominikhei No, this all looks good, thanks for working on this @dominikhei 🙌

@Fokko Fokko merged commit b18ab74 into apache:main Dec 9, 2024
49 checks passed
Fokko added a commit to Fokko/iceberg-rust that referenced this pull request Dec 9, 2024
- Switch to the `apache/iceberg-rest-fixture`
- That contains now a healthcheck: apache/iceberg#11705
- Update docs to point to Orbstack, native Docker doesn't work (today)
Fokko added a commit to Fokko/iceberg-rust that referenced this pull request Dec 9, 2024
- Switch to the `apache/iceberg-rest-fixture`
- That contains now a healthcheck: apache/iceberg#11705
- Update docs to point to Orbstack, native Docker doesn't work (today)
Fokko added a commit to Fokko/iceberg-rust that referenced this pull request Dec 9, 2024
- Switch to the `apache/iceberg-rest-fixture`
- That contains now a healthcheck: apache/iceberg#11705
- Update docs to point to Orbstack, native Docker doesn't work (today)
Fokko added a commit to Fokko/iceberg-rust that referenced this pull request Dec 9, 2024
- Switch to the `apache/iceberg-rest-fixture`
- That contains now a healthcheck: apache/iceberg#11705
- Update docs to point to Orbstack, native Docker doesn't work (today)
liurenjie1024 pushed a commit to apache/iceberg-rust that referenced this pull request Dec 10, 2024
- Switch to the `apache/iceberg-rest-fixture`
- That contains now a healthcheck: apache/iceberg#11705
- Update docs to point to Orbstack, native Docker doesn't work (today)
zachdisc pushed a commit to zachdisc/iceberg that referenced this pull request Dec 23, 2024
* Added command to install curl

* Added command to cleanup apt cache

* Added health probing

* Update healthcheck

---------

Co-authored-by: Fokko Driesprong <fokko@apache.org>
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.

Add curl to the iceberg-rest-fixture docker container

3 participants