I am trying to run a dockerfile using linux in gitlab for automatic build and learning purposes. I’m not sure how it works when trying to use a script shell file that pauses and waits for input at the command line multiple times. Is there any command to automatically send the desired inputs?
Currently when I am running the .sh file I get the following error (it is looping here):
Do you agree to the above terms and conditions? unrecognised response: ‘’
Please answer with one of: ‘yes’ or ‘no/quit’
I have run docker locally using interactive mode and this has gone well, but now it gets confusing when everything should happen automatically.