mirror of
https://github.com/ViViDboarder/docker-duplicity-cron.git
synced 2024-12-23 10:17:37 +00:00
9 lines
272 B
Plaintext
9 lines
272 B
Plaintext
|
#!/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
|