chore: Optimize the Dockerfile to reduce the image size#616
Open
Kinsue wants to merge 2 commits intoapache:masterfrom
Open
chore: Optimize the Dockerfile to reduce the image size#616Kinsue wants to merge 2 commits intoapache:masterfrom
Kinsue wants to merge 2 commits intoapache:masterfrom
Conversation
Author
Current sizeREPOSITORY 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 315MBOriginal sizeREPOSITORY 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR aims to address the issue raised in #615 by optimizing the final image size through merging build layers and removing related caches.