1
0

fix hook scripts

This commit is contained in:
David Personette
2019-09-03 20:39:09 -04:00
parent b2045128c2
commit e7d9254688
2 changed files with 5 additions and 11 deletions

View File

@@ -1,8 +1,6 @@
#!/usr/bin/env bash
BUILD_ARCH=$(echo "${DOCKERFILE_PATH}" | cut -d'.' -f2)
[ "${BUILD_ARCH}" == "Dockerfile" ] && \
[[ "${DOCKER_TAG}" == "latest" ]] && \
{ echo 'qemu-user-static: Registration not required for this arch';exit 0; }
docker run --rm --privileged multiarch/qemu-user-static:register --reset