Sign inSign up

didstopia/freebsd-cross

By didstopia

Updated almost 4 years ago

FreeBSD cross-compilation support using Alpine (amd64 only)

Image
1

458

didstopia/freebsd-cross repository overview

unlicense docker stars docker pulls docker build status docker image size

docker-freebsd-cross

NOTICE: This is a fork of docker-freebsd-cross by valpackett and primarily adds support to target different FreeBSD versions.

An Alpine based Docker image for cross-compiling to any version of FreeBSD (amd64) using clang.

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

Usage

FROM didstopia/freebsd-cross:latest
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.

Tag summary

Content type

Image

Digest

sha256:19eeb4cb0

Size

298.9 MB

Last updated

almost 4 years ago

docker pull didstopia/freebsd-cross