Copy from arago sysroot those files:
./usr
./usr/lib
./usr/bin
./usr/bin/myhomeapp
./lib
./lib/libtinfo.so.5
./lib/libdl.so.2
./lib/libc.so.6
./lib/ld-linux-armhf.so.3
./bin
./bin/bash.bash
./bin/bash
./bin/sh
Build an image using this Dockerfile:
FROM scratch
COPY bin /bin
COPY usr /usr
COPY lib /lib
Build and try bash:
docker build . -t rpi-arago-2018.04
docker run -ti rpi-arago-2018.04 bash
Now you can use this minimal image for any program.