Skip to content

demcgovern/cbqn-win-docker-build

 
 

Repository files navigation

cbqn-win-docker-build

Build CBQN for Windows with Docker

Usage

cd to the folder where you can find this README and Dockerfiles.

For example, if you want to call your image "winbqn", you want to build with:

docker build -t winbqn .

You can pass in arguments by adding --build-arg ARG=VALUE to the command. The arguments are:

  • BRANCH, the git branch of dzaima/CBQN to clone from, default: develop
  • NATIVE, should all instructions supported by the local machine be enabled, default: 0
  • REPLXX, use replxx for the repl, default: 1
  • VERSION, the version to report by CBQN, default: "" (use commit hash)
  • EXE_OPTS, other options for build when building the executable, default: ""
  • DLL_OPTS, other options for build when building the shared library, default: ""
  • LIB_OPTS, other options for build when building the static library, default: ""
  • CACHEBUST, set to value like "$(Get-Date)" to avoid caching of git clone by docker

Then, you can get bqn.zip by:

docker run -v ${PWD}:/out --rm -d winbqn cp /build/out/bqn.zip /out

Finally, you can remove the image by:

docker rmi winbqn

License

The BQN logo (BQN.ico) is licensed ISC. Other files are licensed MIT.

Under licenses/ are licenses to be distributed with the CBQN binary.

CBQN is dual-licensed LGPLv3 and MPL2, you can choose one.

About

Build CBQN for Windows with Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Dockerfile 54.9%
  • Shell 27.6%
  • PowerShell 17.5%