mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Only support Docker builds on amd64
This commit is contained in:
parent
93d1256a4c
commit
c61e95d117
4
build.sh
4
build.sh
@ -39,6 +39,10 @@ do_build_native() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do_build_docker() {
|
do_build_docker() {
|
||||||
|
if ! dpkg --print-architecture | grep -q 'amd64'; then
|
||||||
|
echo "Docker-based builds only support amd64-based cross-building; use a native build instead"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
if [[ ! -f deployment/Dockerfile.${PLATFORM} ]]; then
|
if [[ ! -f deployment/Dockerfile.${PLATFORM} ]]; then
|
||||||
echo "Missing Dockerfile for platform ${PLATFORM}"
|
echo "Missing Dockerfile for platform ${PLATFORM}"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user