Docker environment to build ngspice from source with a focus on command-line operations
We use Emscripten to compile the ngspice codebased into WASM to run client-side inside compatible browsers.
First clone the repository:
git clone https://github.com/danchitnis/ngspice.git
cd ngspice
Build the Docker image:
cd emcc
docker build -t ngspice:emcc .
Run the Docker image:
docker run -it -v $(realpath .):/mnt ngspice:emcc
This will create a new directory build
which has the generated JS and WASM runtime files.
First clone the repository:
git clone https://github.com/danchitnis/ngspice.git
cd ngspice
Build the Docker image:
cd linux
sudo docker build -t ngspice:linux .
Run the Docker image:
docker run -it -v $(realpath .):/mnt ngspice:linux
This will create a new directory build
which contains the generated ngspice
executable
TBA
TBA
Notice that the docker image is based on container-xrdp
https://github.com/danchitnis/ngspice-sf-mirror