Compile Apache MiNiFi 0.4.0 C++ for alpine-based image on Raspberry Pi 3.
# ----- Instantiate an immutable Debian container for compilation ----- #
# Bind mount a shared volume to store the binary once it is built.
docker run -it --rm -v `pwd`:/build resin/raspberrypi3-debian /bin/bash
# ----- Inside the Debian container ----- #
apt update && apt install git build-essential
git clone https://github.com/apache/nifi-minifi-cpp