Answer the question
In order to leave comments, you need to log in
How to build an image via Dockerfile interactively?
I'm trying to build an image through a Dockerfile. When installing some components, scripts are executed where you need to enter the answer in the console. Those. Please choose [0] : and here a response from the console is expected.
In fact, either this line is repeated and fills everything, or after half a minute the assembly fails and the entered characters are already transferred to the console of the machine on which it is assembled.
Also, further it is planned that the installation of some components will be performed through the gui. Xming is installed, so the machine is configured. those. not in a container, everything should work fine. But apparently, with such an assembly, everything will not work out so simply.
How can you check this? Or just raise the image with your hands, set it up on it like in a regular console and commit it separately?
I also looked, there are options with rtk and porto from Yandex. Does anyone know if this can be done there?
Answer the question
In order to leave comments, you need to log in
Most software can either silently install (usually the -y switch) or read variables from the environment (look at the installation documentation).
For console installers, if neither is available, expect can be used - www.nist.gov/el/msid/expect.cfm
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question