From d405d3922150d7d39c3b28f45216bee36eeef211 Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Mon, 11 Sep 2023 14:09:05 +0800 Subject: [PATCH] Fix copy commands in dockerfiles. --- docs/platform/tutorials/matlab/matlab-and-simulink.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/platform/tutorials/matlab/matlab-and-simulink.md b/docs/platform/tutorials/matlab/matlab-and-simulink.md index 9047d2a0..a63b6c09 100644 --- a/docs/platform/tutorials/matlab/matlab-and-simulink.md +++ b/docs/platform/tutorials/matlab/matlab-and-simulink.md @@ -490,7 +490,7 @@ Quix supports all versions of MATLAB with support for MATLAB Runtime API. To red # MathWorks base dependencies ENV DEBIAN_FRONTEND="noninteractive" TZ="Etc/UTC" - COPY base-dependencies.txt /tmp/base-dependencies.txt + COPY --from=git /project/base-dependencies.txt /tmp/base-dependencies.txt RUN apt-get update && apt-get install --no-install-recommends -y `cat /tmp/base-dependencies.txt` \ && apt-get clean && apt-get -y autoremove && rm -rf /var/lib/apt/lists/* RUN [ -d /usr/share/X11/xkb ] || mkdir -p /usr/share/X11/xkb @@ -510,7 +510,7 @@ Quix supports all versions of MATLAB with support for MATLAB Runtime API. To red # MathWorks base dependencies ENV DEBIAN_FRONTEND="noninteractive" TZ="Etc/UTC" - COPY base-dependencies.txt /tmp/base-dependencies.txt + COPY --from=git /project/base-dependencies.txt /tmp/base-dependencies.txt RUN apt-get update && apt-get install --no-install-recommends -y `cat /tmp/base-dependencies.txt` \ && apt-get clean && apt-get -y autoremove && rm -rf /var/lib/apt/lists/* RUN [ -d /usr/share/X11/xkb ] || mkdir -p /usr/share/X11/xkb @@ -530,7 +530,7 @@ Quix supports all versions of MATLAB with support for MATLAB Runtime API. To red # MathWorks base dependencies ENV DEBIAN_FRONTEND="noninteractive" TZ="Etc/UTC" - COPY base-dependencies.txt /tmp/base-dependencies.txt + COPY --from=git /project/base-dependencies.txt /tmp/base-dependencies.txt RUN apt-get update && apt-get install --no-install-recommends -y `cat /tmp/base-dependencies.txt` \ && apt-get clean && apt-get -y autoremove && rm -rf /var/lib/apt/lists/* RUN [ -d /usr/share/X11/xkb ] || mkdir -p /usr/share/X11/xkb