1
0

fix hooks scripts

This commit is contained in:
David Personette
2019-09-03 19:09:52 -04:00
parent df894f716b
commit b493330c7d
2 changed files with 8 additions and 8 deletions

View File

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