Dear Toradex Support,
when trying to create the Docker Production image in the ApolloX VSCode extension the build fails with the following output:
[...]
=> CACHED [deploy 1/3] FROM docker.io/torizonextras/debian:2.5-bullseye@sha256:1d547c77c632933f764f0577ce67cd58f9b8d9e027b879512ae5f74e76cdba34 0.0s
=> CANCELED [deploy 2/3] RUN apt-get -y update && apt-get install -y --no-install-recommends && apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/* 21.5s
=> CACHED [build 2/5] RUN apt-get -q -y update && apt-get -q -y install && apt-get clean && apt-get autoremove && rm -rf /var/lib/apt/lists/* 0.0s
=> [build 3/5] COPY . /app 2.8s
=> [build 4/5] WORKDIR /app 1.7s
=> [build 5/5] RUN if [ arm == "arm64" ] ; then make ARCH=. CC=aarch64-linux-gnu-g++ ; elif [ arm == "arm" ] ; then make ARCH=. CC=arm-linux-gnueabihf-g++ ; elif 14.2s
=> ERROR [deploy 3/3] COPY --from=Build /app/debug /app 0.0s
------
> [deploy 3/3] COPY --from=Build /app/debug /app:
------
failed to solve: failed to compute cache key: "/app/debug" not found: not found
I have currently tried to set up a clean new project but i still get the same error. What could be wrong?
I am using WSL on Windows and have Docker Desktop installed.
Thank you very much!
Lukas