We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc222bb commit 444d9fdCopy full SHA for 444d9fd
.devcontainer/sources/Dockerfile.ChibiOS
@@ -65,11 +65,11 @@ RUN git clone --branch mbedtls-2.28.2 https://github.com/ARMmbed/mbedtls.git --d
65
&& git clone --branch nf-build https://github.com/nanoframework/spiffs.git --depth 1 ./sources/spiffs
66
67
# set gcc location
68
-ENV ARM_GCC_PATH=/usr/local/bin/gcc
69
-ENV PATH=$ARM_GCC_PATH/bin:${PATH}
+ARG TMP_GCC_PATH=/usr/local/bin/gcc
+ENV ARM_GCC_PATH=$TMP_GCC_PATH/bin
70
71
# Copy from our other container
72
-COPY --from=downloader /tmp/dc-extracted/gcc $ARM_GCC_PATH
+COPY --from=downloader /tmp/dc-extracted/gcc $TMP_GCC_PATH
73
COPY --from=downloader /tmp/dc-extracted/cmake /usr/bin/cmake
74
75
ENV PATH=/usr/bin/cmake/bin:${PATH}
0 commit comments