Skip to content

valpackett/docker-freebsd-cross

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

unlicense docker stars docker pulls docker build status docker image size

docker-freebsd-cross

An Alpine based Docker image for cross-compiling to FreeBSD (11, amd64) using clang.

  • Allows pkg dependency installation!
  • Configures pkgconf (pkg-config)!
  • Configures meson! (use --cross-file freebsd)

Usage

FROM myfreeweb/freebsd-cross:latest
RUN apk add --no-cache meson
RUN pkg -r /freebsd install -y libepoll-shim libudev-devd libevdev libwacom gtk3 libmtdev
ADD . /build
RUN cd /build && \
	meson build --cross-file freebsd -Ddocumentation=false -Dtests=false -Depoll-dir=/freebsd/usr/local/ && \
	ninja -Cbuild

Contributing

Please feel free to submit pull requests!

By participating in this project you agree to follow the Contributor Code of Conduct.

The list of contributors is available on GitHub.

License

This is free and unencumbered software released into the public domain.
For more information, please refer to the UNLICENSE file or unlicense.org.

Releases

No releases published

Packages

No packages published