mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-03-05 15:06:28 -05:00
* [CI] Run shellcheck and shfmt Cf. https://github.com/FreshRSS/FreshRSS/pull/2436#discussion_r305640019 * rename * no need for disable anymore * also remove leftover indentation flags even if it makes no difference to syntax checking * define colors and reset before exit for local use
12 lines
571 B
Bash
Executable File
12 lines
571 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ $DOCKERFILE_PATH == *-ARM ]]; then
|
|
# https://github.com/balena-io/qemu
|
|
# Download a local copy of QEMU on Docker Hub build machine
|
|
curl -LSs 'https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-arm.tar.gz' | tar -xzv --strip-components=1 --wildcards '*/qemu-*'
|
|
|
|
# https://github.com/multiarch/qemu-user-static
|
|
# Register qemu-*-static for all supported processors except the current one, but also remove all registered binfmt_misc before
|
|
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
|
fi
|