It's a Proof of Concept of benefits of using "chisel" tool on Ubuntu in comparison to Alpine images.
10K+
This project is a Proof of Concept (PoC) to verify the benefits of using "chisel" tools on Ubuntu in comparison to Alpine images.
The goal of this project is to compare the performance, size, and security of Docker images built using chisel tools on Ubuntu versus those built using Alpine images. Chisel tools are designed to create minimal, hardened Docker images, and this project aims to evaluate their effectiveness.
Alpine Linux is known for its small size and security features. This project will compare the following aspects between chiseled Ubuntu images and Alpine images:
| Alpine | Ubuntu | Ubuntu (chiseled) | |
|---|---|---|---|
| jdk-11 | |||
| jdk-17 | |||
| jdk-21 | |||
| jre-21 | |||
| jre-11 | |||
| jre-17 |
To build and run the Docker images, follow these steps:
Clone the repository:
git clone https://github.com/yourusername/docker-chiseled-corretto.git
cd docker-chiseled-corretto
Install Template Dockerfile tool:
sudo curl -sLfo /usr/local/bin/td https://github.com/tgagor/template-dockerfiles/releases/latest/download/td-linux-amd64
sudo chmod +x /usr/local/bin/td
Build the Docker image using chisel tools on Ubuntu:
make
This PoC will help determine if using chisel tools on Ubuntu provides significant benefits over using Alpine images. The results will guide future decisions on the best practices for building minimal, secure, and performant Docker images.
This project is licensed under the MIT License. See the LICENSE file for details.
Content type
Image
Digest
sha256:053cccd92…
Size
63.4 MB
Last updated
3 days ago
docker pull tgagor/corretto:25-ubuntu24.04-chiseled