Since the Zigup binary is statically-linked, you'll be able to copy it to your machine afterwards.
# Build for the default target (x86_64-linux)
docker build -t zigup .
# Or specify a custom target through ZIGUP_TARGET
# docker build -t zigup --build-arg ZIGUP_TARGET=macos-x86_64 .
# Copy zigup from the Docker image to your host
container="$(docker container create zigup)"
docker container cp "$container":/zigup/zig-out/bin/zigup .
docker container rm "$container"
# Use zigup
./zigup --help