Skip to content
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

[feature request][devcontainer] No install option #2512

Closed
Fabrizio-Caruso opened this issue Mar 25, 2024 · 3 comments
Closed

[feature request][devcontainer] No install option #2512

Fabrizio-Caruso opened this issue Mar 25, 2024 · 3 comments

Comments

@Fabrizio-Caruso
Copy link

It could be possible to use z88dk (some sort of sandbox) on a browser running a dockerized installation for free by just adding a devcontainer folder. No need to explicitly install anything. People would just have to clone z88dk and use codespaces on a browser (for free with a monthly time limit) or locally in vscode. For codespaces there is not even the need for a docker engine. A browser is enough.

Something like the following folder would suffice:
https://github.com/Fabrizio-Caruso/CROSS-LIB/tree/master/.devcontainer

Could such a feature be added?
I am not an expert but maybe what I use for Cross-Lib (which includes z88dk and other compilers) would just work straightway as I already do this for a superset of z88dk.

suborb added a commit that referenced this issue Apr 27, 2024
This uses the existing container.

Not too certain how much use this is in this project, but might
be a useful example for how to do it.
@suborb
Copy link
Member

suborb commented Apr 27, 2024

I'm not sure how useful it actually is (since it's setup to edit z88dk code!) but as an example of how to leverage the z88dk docker image it's probably quite handy.

@Fabrizio-Caruso
Copy link
Author

You are right indeed: the Z88DK repo is meant to be used to develop Z88DK itself.
It does make more sense for my own project which is just used as is (as source files) and it depends on several tools and compilers (including Z88DK) but even just Z88DK could let people give it.

@suborb
Copy link
Member

suborb commented Apr 27, 2024

I've created an example project which makes things a lot clearer: https://github.com/z88dk/z88dk-devcontainer-example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants