# Kunai - Dockerfile Simplified & Container Size Reduced

**URL:** <https://discourse.ossbase.org/t/kunai-dockerfile-simplified-container-size-reduced/1061>\
**Category:** hackathon.lu\
**Tags:** hackathon-2026\
**Created:** [April 15, 2026, 12:35pm UTC](https://discourse.ossbase.org/t/kunai-dockerfile-simplified-container-size-reduced/1061 "2026-04-15T12:35:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![qjerome](https://discourse.ossbase.org/user_avatar/discourse.ossbase.org/qjerome/32/48_2.png) [@qjerome](https://discourse.ossbase.org/u/qjerome)\
**Post date:** [April 15, 2026, 12:35pm UTC](https://discourse.ossbase.org/t/kunai-dockerfile-simplified-container-size-reduced/1061/1 "2026-04-15T12:35:58Z")

</div>

**Description:**  
This update simplifies the Docker build process and reduces the container image size by adopting the official `rust:latest` base image. The changes maintain all required functionality while improving efficiency. A pre-built container is now available on GitHub for immediate use at [GitHub - kunai-project/kunai-build-docker: Dockerfile to build kunai without effort · GitHub](https://github.com/kunai-project/kunai-build-docker) .

**Progress:**

- **Base Image:** Switched from `archlinux:latest` to `rust:latest` to leverage a pre-configured Rust environment and reduce image size.

- **Toolchain Setup:** Simplified Rust toolchain installation and consolidated package/component setups, further reducing image layers.

- **Imrpovements:**

- **Testing:**

- **Pre-Built Container:** A ready-to-use container is now available on GitHub for faster deployment and testing.

**Next Steps:**

- Monitor for any downstream integration issues.

- Gather feedback on the pre-built container and further optimize image size.

- Explore additional opportunities for build time and efficiency improvements.
