valpackett / docker-freebsd-cross

Docker image for cross-compiling to FreeBSD. With pkg!!

Home Page:https://hub.docker.com/r/myfreeweb/freebsd-cross/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Docker image for cross-compiling to FreeBSD. With pkg!!

https://hub.docker.com/r/myfreeweb/freebsd-cross/

License:The Unlicense


Languages

Language:Dockerfile 86.4%Language:Shell 13.6%