From 5970f457496e93c9a4eaa086dd461df144e1114a Mon Sep 17 00:00:00 2001 From: Philipp van Kempen Date: Mon, 4 Nov 2024 12:44:15 +0100 Subject: [PATCH] docker: fix warnings in ci --- docker/Dockerfile | 7 ++++--- docker/Dockerfile2 | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 6a58da653..1f0bb138a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -69,7 +69,7 @@ RUN apt-get update \ RUN dpkg -l -CMD /bin/bash +CMD ["/bin/bash"] FROM mlonmcu-ci AS mlonmcu @@ -78,7 +78,8 @@ WORKDIR /mlonmcu RUN pip3 install --upgrade pip --no-cache-dir RUN pip3 install -r requirements.txt --no-cache-dir RUN pip3 install . --no-cache-dir -CMD mlonmcu + +CMD ["mlonmcu"] ARG MLONMCU_TEMPLATE=default FROM mlonmcu AS mlonmcu-bench @@ -100,5 +101,5 @@ RUN mlonmcu setup -v RUN df -h -CMD mlonmcu +CMD ["mlonmcu"] VOLUME /environment diff --git a/docker/Dockerfile2 b/docker/Dockerfile2 index 6b3682777..d949193d6 100644 --- a/docker/Dockerfile2 +++ b/docker/Dockerfile2 @@ -1,5 +1,5 @@ -ARG BASE_IMAGE +ARG BASE_IMAGE="tumeda/mlonmcu-bench:latest" FROM ${BASE_IMAGE} ARG MLONMCU_TEMPLATE @@ -25,5 +25,5 @@ RUN df -h RUN mlonmcu setup -v --rebuild RUN df -h -CMD mlonmcu +CMD ["mlonmcu"] VOLUME /environment