Docker Usage - z88dk/z88dk GitHub Wiki
Simply execute this line in the directory you want z88dk executables to be run:
docker run -v .:/src/ -it z88dk/z88dk <command>
If it complains about no matching image found (for example on Apple native silicon), then you'll need to install and enable Rosetta2 and provide the --platform
option:
docker run --platform linux/amd64 -v .:/src/ -it z88dk/z88dk <command>
where <command>
is the command line to be executed in the Docker container.
As it can be deduced, current directory (and its subfolders) contents are bound with read-write access to the Docker container /src/
directory.
Note: <command>
is not tied to run z88dk executables only: it can run scripts or execute makefiles as long as they are supported by the Docker container.
- Recent releases are available as tagged images
- Weekly builds are tagged with the build date
See https://hub.docker.com/r/z88dk/z88dk for more details.
Just get the file z88dk.Dockerfile from the GIT repository and build the docker image "z88dk":
docker build -t z88dk -f z88dk.Dockerfile .
Note: an Internet connection is required because several packages and source code repositories need to be downloaded.