Skip to content

Commit

Permalink
Make switch in dockerfile posix compliant
Browse files Browse the repository at this point in the history
  • Loading branch information
cgerum committed Aug 23, 2024
1 parent 0460af3 commit c53efc2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down

0 comments on commit c53efc2

Please sign in to comment.