The project is init Just because I don't want to install Matlab. I have modified the relevant files to fit the octave run.
- Enter the folder
cd octave-docker
- build the docker file
docker build --build-arg UBUNTU_MIRROR="http://mirrors.163.com" -t bfm/octave .
Or
docker build -t bfm/octave .
- run the docker
docker run --rm -v $(pwd):/source bfm/octave /source/generate.m