samba/hooks/pre_build

6 lines
213 B
Bash
Executable File

#!/usr/bin/env bash
[[ "${DOCKER_TAG}" == "amd64" ]] && \
{ echo 'qemu-user-static: Registration not required for this arch';exit 0; }
docker run --rm --privileged multiarch/qemu-user-static:register --reset