Skip to content

Commit

Permalink
Merge pull request #24 from shishir-dey/ci/set-up-github-codespaces-a…
Browse files Browse the repository at this point in the history
…nd-docker

List npm global directories and check installation
  • Loading branch information
shishir-dey authored Nov 30, 2024
2 parents bce9cbf + 9065049 commit 3e05006
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
# Install xpack ARM GCC toolchain
RUN npm install --global @xpack-dev-tools/arm-none-eabi-gcc

# Debug: List npm global directories and check installation
RUN npm list -g @xpack-dev-tools/arm-none-eabi-gcc

# Find and symlink the ARM GCC binaries
RUN GCC_PATH=$(find /root/.local/xPacks/@xpack-dev-tools/arm-none-eabi-gcc -name "bin" -type d | head -n 1) && \
if [ -z "$GCC_PATH" ]; then echo "ARM GCC toolchain not found"; exit 1; fi && \
Expand Down

0 comments on commit 3e05006

Please sign in to comment.