From c53efc2f38caf3f7916965be346f0dfdd6c6d0ef Mon Sep 17 00:00:00 2001 From: Christoph Gerum Date: Fri, 23 Aug 2024 09:43:26 +0200 Subject: [PATCH] Make switch in dockerfile posix compliant --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9aaba4b9..586beda2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,8 +29,7 @@ FROM python:${python_version} as python FROM ${target} - -RUN if [ "$target" == hannah ] || [ "$target" = "mlonmcu" ]; then\ +RUN if [ "$target" = "hannah" ] || [ "$target" = "mlonmcu" ]; then\ apt-get update -y && apt-get -y install git mesa-utils python3 python3-pip python3-dev libblas-dev liblapack-dev libsndfile1-dev libsox-dev cmake ninja-build curl build-essential python-is-python3; \ else \ apt-get update -y && apt-get -y install git mesa-utils libblas-dev liblapack-dev libsndfile1-dev libsox-dev cmake ninja-build curl build-essential; \