Skip to content

Commit

Permalink
docker: fix warnings in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Nov 18, 2024
1 parent 873187f commit 5970f45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ RUN apt-get update \

RUN dpkg -l

CMD /bin/bash
CMD ["/bin/bash"]

FROM mlonmcu-ci AS mlonmcu

Expand All @@ -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
Expand All @@ -100,5 +101,5 @@ RUN mlonmcu setup -v

RUN df -h

CMD mlonmcu
CMD ["mlonmcu"]
VOLUME /environment
4 changes: 2 additions & 2 deletions docker/Dockerfile2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

ARG BASE_IMAGE
ARG BASE_IMAGE="tumeda/mlonmcu-bench:latest"
FROM ${BASE_IMAGE}
ARG MLONMCU_TEMPLATE

Expand All @@ -25,5 +25,5 @@ RUN df -h
RUN mlonmcu setup -v --rebuild
RUN df -h

CMD mlonmcu
CMD ["mlonmcu"]
VOLUME /environment

0 comments on commit 5970f45

Please sign in to comment.