<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/how-i-built-a-ci-friendly-iceberg-rest-catalog-test-environment-in-a-single-docker-image-iceberg--s9gkift69" -->

---
title: How I Built a CI-Friendly Iceberg REST Catalog Test...
description: Building a CI-friendly integration test environment for Apache Iceberg REST Catalog is challenging when docker-compose isn't available in the pipeline. This...
canonical: https://daily.dev/posts/how-i-built-a-ci-friendly-iceberg-rest-catalog-test-environment-in-a-single-docker-image-iceberg--s9gkift69
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: How I Built a CI-Friendly Iceberg REST Catalog Test Environment in a Single Docker Image: Iceberg… | daily.dev
og:description: Building a CI-friendly integration test environment for Apache Iceberg REST Catalog is challenging when docker-compose isn't available in the pipeline. This...
og:url: https://daily.dev/posts/how-i-built-a-ci-friendly-iceberg-rest-catalog-test-environment-in-a-single-docker-image-iceberg--s9gkift69
og:image: https://api.daily.dev/og/posts/S9gKIFt69.png
og:image:alt: How I Built a CI-Friendly Iceberg REST Catalog Test Environment in a Single Docker Image: Iceberg…
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How I Built a CI-Friendly Iceberg REST Catalog Test Environment in a Single Docker Image: Iceberg…

**[ITNEXT](https://daily.dev/sources/itnext)** · 10 min read · 0 upvotes · 0 comments

## Summary

Building a CI-friendly integration test environment for Apache Iceberg REST Catalog is challenging when docker-compose isn't available in the pipeline. This post walks through collapsing a multi-service data lake stack (HDFS, Hive Metastore, MinIO, Iceberg REST Catalog) into a single Docker image under 5GB. Key techniques covered include Docker layer ordering for faster rebuilds, aggressive image size reduction (removing docs/examples saves 500MB+), deduplicating shared JVM libraries with symlinks, and using Supervisor to manage multiple services in one container. A Java smoke test client that validates each subsystem independently is recommended for faster debugging. Two common Iceberg+MinIO failure modes are detailed: credential misalignment between client and server, and bucket path-style access not being applied server-side.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://itnext.io/how-i-built-a-ci-friendly-iceberg-rest-catalog-test-environment-in-a-single-docker-image-iceberg-eb9ecf26c902>

## Similar posts on daily.dev

- [BigLake metastore now supports Iceberg REST Catalog](https://daily.dev/posts/biglake-metastore-now-supports-iceberg-rest-catalog-ne9xhokid) · Google Cloud · 0 upvotes · 0 comments
- [How to Build an Open Source Data Lake for Batch Ingestion](https://daily.dev/posts/how-to-build-an-open-source-data-lake-for-batch-ingestion-g6w8pqtbg) · freeCodeCamp · 0 upvotes · 0 comments
- [Scaling Grab's Data Lake: Our journey to Apache Iceberg adoption](https://daily.dev/posts/scaling-grab-s-data-lake-our-journey-to-apache-iceberg-adoption-ibvihkenm) · Grab Tech Blog · 6 upvotes · 0 comments
- [Managed Iceberg Lakehouse: A Practical Guide](https://daily.dev/posts/managed-iceberg-lakehouse-a-practical-guide-qdlvpntka) · ITNEXT · 1 upvotes · 0 comments

---

Tags: [#testing](https://daily.dev/tags/testing), [#docker](https://daily.dev/tags/docker), [#apache-iceberg](https://daily.dev/tags/apache-iceberg), [#apache-hadoop](https://daily.dev/tags/apache-hadoop)

[View this post on daily.dev](https://daily.dev/posts/how-i-built-a-ci-friendly-iceberg-rest-catalog-test-environment-in-a-single-docker-image-iceberg--s9gkift69)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"How I Built a CI-Friendly Iceberg REST Catalog Test Environment in a Single Docker Image: Iceberg…","url":"https://daily.dev/posts/how-i-built-a-ci-friendly-iceberg-rest-catalog-test-environment-in-a-single-docker-image-iceberg--s9gkift69","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/how-i-built-a-ci-friendly-iceberg-rest-catalog-test-environment-in-a-single-docker-image-iceberg--s9gkift69"},"datePublished":"2026-04-08T08:21:45.362Z","dateModified":"2026-04-08T08:22:14.031Z","description":"Building a CI-friendly integration test environment for Apache Iceberg REST Catalog is challenging when docker-compose isn't available in the pipeline. This...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fcbf122e89699f358abb8ecebe130993?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/fcbf122e89699f358abb8ecebe130993?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"ITNEXT","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"ITNEXT","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/itnext2","url":"https://daily.dev/sources/itnext"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/how-i-built-a-ci-friendly-iceberg-rest-catalog-test-environment-in-a-single-docker-image-iceberg--s9gkift69","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"testing,docker,apache-iceberg,apache-hadoop","timeRequired":"PT10M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"ITNEXT","item":"https://daily.dev/sources/itnext"},{"@type":"ListItem","position":3,"name":"How I Built a CI-Friendly Iceberg REST Catalog Test Environment in a Single Docker Image: Iceberg…"}]}
```

