terraform-provider-docker
                                
                                
                                
                                    terraform-provider-docker copied to clipboard
                            
                            
                            
                        fix: Optimize tests and CI/CD by using smaller docker images
This PR unifies the image usage in (mostly) tests.
I noticed this, because I could not run some tests locally. The crux image is not maintained anymore since over 2 years, and thus, has no arm64 image (I am running  an M1 mac).
In addition, the busybox:1.35.0 is almost 60 MB smaller than the nginx:latest, so that will hopefully also account for some time reduction in CI/CD.
Things I noticed while debugging:
- Many tests implicit assume that the container keeps running. A simple 
busyboxdoes not suffice, because it instantly exists. Then test fail, because they can't cleanup - Tests with networking need an image which expose a port. Simple 
busyboxdoes not work here, either