Closed Tasnim1147 closed 3 months ago
I have added a shell script check to verify whether a Dockerfile is generated after the archetype run. I am concerned that this might make the code heavy when accounting for all possible combinations. Please let me know if any improvements are needed.
Yes, I was trying to test that the Dockerfile is generated where it is supposed to be and ensure that it isn't generated where it shouldn't be.
OK. Let's not worry about the latter case. For the former, let's attempt an actual Docker build as a more robust test.
The approach you took is good for the negative cases where a Dockerfile was not generated because the user input incorrectly asked for one.
Removed the unnecessary checks and added docker build
for generated Dockerfiles.
Can one of the admins verify this patch?