Skip to content

chore: Optimize the Dockerfile to reduce the image size#616

Open
Kinsue wants to merge 2 commits intoapache:masterfrom
Kinsue:docker
Open

chore: Optimize the Dockerfile to reduce the image size#616
Kinsue wants to merge 2 commits intoapache:masterfrom
Kinsue:docker

Conversation

@Kinsue
Copy link

@Kinsue Kinsue commented Mar 10, 2026

This PR aims to address the issue raised in #615 by optimizing the final image size through merging build layers and removing related caches.

@Kinsue
Copy link
Author

Kinsue commented Mar 10, 2026

Current size

REPOSITORY         TAG       IMAGE ID       CREATED        SIZE
apisix/rearrange   redhat    0b09a77bc27b   13 hours ago   470MB
apisix/rearrange   ubuntu    32f780e9a8fd   17 hours ago   309MB
apisix/rearrange   debian    4011be1b9bf1   20 hours ago   315MB

Original size

REPOSITORY         TAG                IMAGE ID       CREATED        SIZE
apache/apisix    3.15.0-redhat      e5c331b94925   4 weeks ago     645MB
apache/apisix    3.15.0-ubuntu      57f35b524d54   4 weeks ago     458MB
apache/apisix    3.15.0-debian      1dd988645791   4 weeks ago     407MB

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.

1 participant