Skip to content

Commit 444d9fd

Browse files
Update Dockerfile.ChibiOS
1 parent dc222bb commit 444d9fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.devcontainer/sources/Dockerfile.ChibiOS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ RUN git clone --branch mbedtls-2.28.2 https://github.com/ARMmbed/mbedtls.git --d
6565
&& git clone --branch nf-build https://github.com/nanoframework/spiffs.git --depth 1 ./sources/spiffs
6666

6767
# set gcc location
68-
ENV ARM_GCC_PATH=/usr/local/bin/gcc
69-
ENV PATH=$ARM_GCC_PATH/bin:${PATH}
68+
ARG TMP_GCC_PATH=/usr/local/bin/gcc
69+
ENV ARM_GCC_PATH=$TMP_GCC_PATH/bin
7070

7171
# Copy from our other container
72-
COPY --from=downloader /tmp/dc-extracted/gcc $ARM_GCC_PATH
72+
COPY --from=downloader /tmp/dc-extracted/gcc $TMP_GCC_PATH
7373
COPY --from=downloader /tmp/dc-extracted/cmake /usr/bin/cmake
7474

7575
ENV PATH=/usr/bin/cmake/bin:${PATH}

0 commit comments

Comments
 (0)