fixes for docker
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Sun, 1 Nov 2020 00:13:14 +0000 (01:13 +0100)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Sun, 1 Nov 2020 00:13:14 +0000 (01:13 +0100)
.github/workflows/docker-build-multiarch.yml
Dockerfile
rootfs/etc/services.d/music_assistant/run

index 72cd65302b8c9c2cb09f8ac631b8b305a0ba796c..9cdb7af39a0f6a2fcdd01509d079154a2e9dd07f 100644 (file)
@@ -63,6 +63,6 @@ jobs:
           builder: ${{ steps.buildx.outputs.name }}
           context: .
           file: ./Dockerfile
-          platforms: linux/amd64,linux/arm64,linux/ppc64le
+          platforms: linux/amd64,linux/arm64,linux/armhf,linux/armv7
           push: true
           tags: ${{ steps.prep.outputs.tags }}
\ No newline at end of file
index a879c06b711b9c031a3369a95f8b53a3d65a1fcd..45c90a1afadd8f615d97a7c8646575a91203b01a 100755 (executable)
@@ -1,4 +1,4 @@
-FROM python:slim
+FROM python:3.8-slim
 
 # Build arguments
 # ARG BUILD_ARCH="amd64"
index 3f2ae4bf1a609876b2001de23205cf97d63076b8..e33093cbdcc92550edb75cb1b68e0582abdc3afb 100644 (file)
@@ -8,7 +8,7 @@ export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
 
 args="--config /data"
 
-if [ $DEBUG == "true" ]; then
+if [ -z ${DEBUG} ]; then
     args="${args} --debug"
 fi