-
Create the build environment for afpfs-ng using Docker.
docker build . -t afpfs-ng-build-env -
Compile afpfs-ng inside the container and output the results to the
./outdirectory on the host:mkdir -p out docker run -v ./out:/out afpfs-ng-build-env
After this you should find the compiled binaries in the ./out directory on the
host.
- Create debian package, I'm using fpm for this
rm -f afpfs-ng_1.0_amd64.deb && fpm -C out -t deb -s dir -n afpfs-ng .