4 changed files with 11 additions and 7 deletions
@ -0,0 +1,8 @@
|
||||
#!/bin/bash |
||||
|
||||
BUILD_ARCH=$(echo "${DOCKERFILE_PATH}" | cut -d '.' -f 2) |
||||
|
||||
[ "${BUILD_ARCH}" == "Dockerfile" ] && \ |
||||
{ echo 'qemu-user-static: Registration not required for current arch'; exit 0; } |
||||
|
||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset |
Loading…
Reference in new issue