Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 433 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 433 Bytes

freebsd-cross-build

This creates a container that can be used to build FreeBSD binaries natively on Linux

To build:

./build

(this finishes by running 'docker build -t freebsd-cross-build .')

To run:

docker run --rm -it freebsd-cross-build

There is /freebsd/bin on the path. It has all of the build tools (e.g. x86_64-pc-freebsd9-gcc)

It is likely you would add a -v switch to the run (to put your code on a mount).