From 227005129c09c148670ee14c53c70923f3d2b16a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20VALENTIN?= Date: Mon, 29 Jul 2024 13:23:09 +0200 Subject: [PATCH] Fix rust uninstall --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 69ac69c..b229b1d 100755 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,9 @@ COPY ./src /app RUN pip install -r /app/requirements.txt # REMOVE RUST -RUN /usr/local/lib/rustlib/uninstall.sh +RUN if [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \ + /usr/local/lib/rustlib/uninstall.sh; \ + fi RUN mkdir /data RUN mkdir /log