We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
构建时尽量减小镜像大小,将不必要的文件进行压缩,在run的流程中才解压。 比如registry缓存镜像目录,可以build之后压缩,run的时候进行解压,需要满足镜像的layer机制。 bin目录下的二进制进行upx压缩后,kubernetes:v1.19.8镜像从774MB减小到391MB。
The text was updated successfully, but these errors were encountered:
I think when registry dir > 1G, trigger to compress the DIR.
Sorry, something went wrong.
kakaZhou719
No branches or pull requests
构建时尽量减小镜像大小,将不必要的文件进行压缩,在run的流程中才解压。
比如registry缓存镜像目录,可以build之后压缩,run的时候进行解压,需要满足镜像的layer机制。
bin目录下的二进制进行upx压缩后,kubernetes:v1.19.8镜像从774MB减小到391MB。
The text was updated successfully, but these errors were encountered: