kevinjqliu opened a new pull request, #19260: URL: https://github.com/apache/iceberg/pull/19260
The published `iceberg-rest-fixture` image grew to 650 MB uncompressed because newer `azul/zulu-openjdk:17-jre-headless` images disable Docker's apt auto-clean (leaving 127 MB in `/var/cache/apt`), and the runtime JDK 17 lagged the workflow's Java 21 build. Switching to `azul/zulu-openjdk-alpine:21-jre-headless` shrinks the image to 447 MB (-203 MB) while aligning runtime and build JDK versions. This also adds a Dockerfile-scoped `.dockerignore`, `JAVA_OPTS` support, OCI image labels, removes unused dummy JDBC credential env defaults (clearing a BuildKit warning), and fixes `HEALTHCHECK` to honor `CATALOG_REST_PORT`. Test plan: - Built and verified the Alpine Java 21 image on both `linux/arm64` and `linux/amd64` (SQLite musl native lib, healthcheck, namespace/table CRUD, zero BuildKit warnings) - Verified `S3FileIO` (RustFS), `GCSFileIO` (`fake-gcs-server`), and `ADLSFileIO` (Azurite) table create/load/purge on Alpine with clean logs - Verified `CATALOG_REST_PORT=9191`, `JAVA_OPTS`, `LOG_CONFIG_DIR` + `LOG_LEVEL` override, and `zizmor` (0 findings) on the publish workflow --- **AI Disclosure** - Model: Gemini 4 Neon (`gemini-4-neon`) - Platform/Tool: GitHub Copilot - Human Oversight: [unknown - human to fill in] - Prompt Summary: Shrink and improve the `iceberg-rest-fixture` Docker image (Alpine Java 21, scoped `.dockerignore`, `JAVA_OPTS`, `CATALOG_REST_PORT` healthcheck, OCI labels). The Dockerfile, entrypoint, README, and workflow changes are generated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
