Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added a
Dockerfile
to run the xdk in a container. This is obviously work-in-progress while we decide exactly how we work in containers, but it is a starting point for anyone to try it out.To build the image
First build the XDK
The build the image
Run the XDK in a Container
To run the image
This will run the image interactively and drop you into a shell. All the XDK executables are on the path, as is Java and Node.
There was no point doing anything more as the default entry point, as there is nothing to run.
The XDK is installed under the
/xqiz.it
directory.Notes
The image is currently fixed to use Java 17.0.2. It also install Node 18.17.1 as that is what the image from https://github.com/azzazzel/xtc_platform uses. Eventually all these would ideally be parameterised.
I could have done the whole build of the XDK inside the first part of the Dockerfile too but most people right now will already be building locally and this way you get whatever you have just built in the image.