Skip to content

Conversation

@bartsanchez
Copy link
Contributor

No description provided.

@bartsanchez
Copy link
Contributor Author

Now I think this is not the way to go. I'd say the proper way is that the Docker image should work without mounting any volume. The problem I faced is that the zxbc command does not write the output to STDOUT, but write it to a file. I'll open an issue to requesting support for this feature.

@bartsanchez bartsanchez closed this Dec 5, 2024
@bartsanchez bartsanchez deleted the bart/add-docker-image branch December 5, 2024 19:40
@boriel
Copy link
Collaborator

boriel commented Dec 8, 2024

That's not the only problem:
When the user launches the executable (usually from a 3rd party IDE, e.g. look at ZXBasicStudio, in this same organization), the user's local folder must be mounted in order to read the .BAS file and, optionally any other #included file
This included file can be in any other folder in the user's local drive, and obviously mounting this or giving R/O access to docker is complicated.

Also, I've planned to put extra libraries out, in a local folder (i.e. .local/boriel-basic/... in Linux) so the compiler can install 3rd party libraries as JavaScript and Python do.

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

Successfully merging this pull request may close these issues.

2 participants