Don’t understand what you mean by cropping. You can compile and install nginx, mysql and php by yourself, these three will not take up much space. Secondly, the docker image is self-increasing. Ubuntu is 180M. If you base it on it, you will only add the new part on this basis. If you really feel that the image is too large, I suggest you check the system software to see if unnecessary software is installed or files that should not be stored are stored.
Don’t understand what you mean by cropping.
You can compile and install nginx, mysql and php by yourself, these three will not take up much space.
Secondly, the docker image is self-increasing. Ubuntu is 180M. If you base it on it, you will only add the new part on this basis.
If you really feel that the image is too large, I suggest you check the system software to see if unnecessary software is installed or files that should not be stored are stored.
Use Dockerfile to automatically build, instead of manually submitting images, and it is also convenient for team sharing