-
Notifications
You must be signed in to change notification settings - Fork 376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: gui installer #201
Comments
Can you give me an example? If the installer has some yes/no questions that cannot be avoided e.g. with cli options, you can try to automate them with command A graphical installation during |
You're right, but there are exceptions :-) |
ok, good.
Just an idea in general: As far as I can see there is no way to interactively build a Docker image, neither cli nor graphical. But it might work to run And one ugly workaround: |
The approach I have used with EDA tools is to install them in a container (with x11docker/runx) to a specific location (say Of course, this will only work as long as the tools install all their resources in the specified location. If they change other resources in the system, it might not work. This is the case with e.g. configuration of EDIT This is similar to @mviereck's suggestion to use |
I am just thinking about some trickery to get a GUI during |
It works! Proof of concept: Run X server:
Keep the X server running and provide the shown
Edit:
Build with:
|
That's actually very interesting! I thought it would not be possible with the standard tool; but buildkit might be required: https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/experimental.md In the test you run, does the build freeze until you close xterm? How does it work with buildkit enabled? |
I did not know of it before. Interesting. Might even allow to share a unix socket.
Yes. Docker waits until xterm is done.
Just checked, works well. |
I've published a How-To in the wiki: |
you rock :-) thanks a bunch for your enthusiasm and support! |
@1138-4eb There is one special point: I found that In MSYS2 this setup may fail because it does not provide |
what about |
I've tried that. It fails, too, xterm shows Alternatively cookie authentication could be used, but the setup to provide the cookie during build would be rather complicated. Normally |
I found that the setup works with without Comparing security:
Probably the I am still surprised that X over TCP/IP without cookie authentication fails in a regular |
Thanks for your awesome work!
I have a question on how to install software into docker, which runs an installer.
Basically, I'd like to do
x11docker build -f Dockerfile-for-installer
The text was updated successfully, but these errors were encountered: