Skip to content

Commit

Permalink
tools/ci/docker/linux/Dockerfile: Restarting the Docker-Linux workflow
Browse files Browse the repository at this point in the history
The docker image has not been updated we currently use that one
from 22 days ago.

It seems that the error encountered is due to an incomplete download. It will probably work fine if downloaded again..

 https://github.com/apache/nuttx/actions/runs/10619683045/job/29437799464#step:7:1339

28.31
28.31 gzip: stdin: unexpected end of file
28.31 tar: Unexpected EOF in archive
28.32 tar: Unexpected EOF in archive
28.32 tar: Error is not recoverable: exiting now
  • Loading branch information
simbit18 authored and xiaoxiang781216 committed Sep 2, 2024
1 parent 32801d3 commit 63ed723
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/ci/docker/linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ FROM nuttx-toolchain-base AS nuttx-toolchain-riscv
# Download the latest RISCV GCC toolchain prebuilt by xPack
RUN mkdir -p riscv-none-elf-gcc && \
curl -s -L "https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v13.2.0-2/xpack-riscv-none-elf-gcc-13.2.0-2-linux-x64.tar.gz" \
| tar -C riscv-none-elf-gcc --strip-components=1 -xz
| tar -C riscv-none-elf-gcc --strip-components 1 -xz

###############################################################################
# Build image for tool required by SPARC builds
Expand Down Expand Up @@ -411,6 +411,7 @@ WORKDIR /tools
# Pull in the tools we just built for nuttx
COPY --from=nuttx-tools /tools/bloaty/ bloaty/
ENV PATH="/tools/bloaty/bin:$PATH"

COPY --from=nuttx-tools /tools/kconfig-frontends/ kconfig-frontends/
ENV PATH="/tools/kconfig-frontends/bin:$PATH"

Expand Down Expand Up @@ -524,6 +525,7 @@ RUN mkdir -p /tools/ccache/bin && \
ln -sf `which ccache` /tools/ccache/bin/xtensa-esp32s2-elf-g++ && \
ln -sf `which ccache` /tools/ccache/bin/xtensa-esp32s3-elf-gcc && \
ln -sf `which ccache` /tools/ccache/bin/xtensa-esp32s3-elf-g++

ENV PATH="/tools/ccache/bin:$PATH"

CMD [ "/bin/bash" ]

0 comments on commit 63ed723

Please sign in to comment.