From a48bde6d5dc1d19386100ef3ab6c169816bf1a6c Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Sun, 1 Nov 2020 11:40:33 +0100 Subject: [PATCH] some fixes for the multi arch building --- Dockerfile | 2 +- rootfs/etc/services.d/music_assistant/run | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 45c90a1a..0774e9b6 100755 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ ARG JEMALLOC_VERSION=5.2.1 ARG S6_OVERLAY_VERSION=2.1.0.2 -RUN BUILD_ARCH="$(dpkg --print-architecture)" && \ +RUN BUILD_ARCH="$(uname -m)" && \ apt-get update && apt-get install -y --no-install-recommends \ # required packages git bash jq flac sox libsox-fmt-mp3 zip curl unzip ffmpeg libsndfile1 libtag1v5 libblas3 liblapack3 \ diff --git a/rootfs/etc/services.d/music_assistant/run b/rootfs/etc/services.d/music_assistant/run index 1e5c9d12..f933252b 100644 --- a/rootfs/etc/services.d/music_assistant/run +++ b/rootfs/etc/services.d/music_assistant/run @@ -1,4 +1,4 @@ -#!/usr/bin/with-contenv sh +#!/usr/bin/with-contenv bash # ============================================================================== # Run MusicAssistant # ============================================================================== @@ -8,7 +8,7 @@ export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2" args="--config /data" -if [ ${DEBUG}=="true" ]; then +if [ "$DEBUG" = true ] ; then args="${args} --debug" fi -- 2.34.1