Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building docker image fails #603

Open
ZHcubGVlQHNrLmNvbSAK opened this issue Jun 9, 2021 · 1 comment
Open

building docker image fails #603

ZHcubGVlQHNrLmNvbSAK opened this issue Jun 9, 2021 · 1 comment

Comments

@ZHcubGVlQHNrLmNvbSAK
Copy link

I'm trying to build CI/CD using provided Dockerfile, however, building docker image fails printing error message below. my guess is that there is something wrong with tar ball. but I'm not sure what it is.

  • environment
/freedom-e-sdk$ docker build -t sifive-build:1.0 -f ./docker/Dockerfile .
Sending build context to Docker daemon  12.75MB
Step 1/19 : FROM ubuntu:16.04 AS download-tarballs
 ---> 9ff95a467e45
Step 2/19 : ARG SIFIVE_TOOLS_URL=https://static.dev.sifive.com/dev-tools/freedom-tools/v2020.08
 ---> Using cache
 ---> 00e3b86421d0
Step 3/19 : ARG RISCV_TOOLS_TARBALL=riscv64-unknown-elf-gcc-10.1.0-2020.08.2-x86_64-linux-ubuntu14.tar.gz
 ---> Using cache
 ---> 94cc15539afe
Step 4/19 : ARG RISCV_SEGGER_LIBC_TARBALL=segger_libc-2020.08.2.tar.bz2
 ---> Using cache
 ---> 118b67f11e76
Step 5/19 : ARG QEMU_TARBALL=riscv-qemu-5.1.0-2020.08.1-x86_64-linux-ubuntu14.tar.gz
 ---> Using cache
 ---> ad8b21ce0f1c
Step 6/19 : RUN apt-get update &&     apt-get upgrade -y &&     apt-get install -y     bzip2     rsync     wget
 ---> Using cache
 ---> 6a79e93f6f8c
Step 7/19 : RUN wget --no-verbose ${SIFIVE_TOOLS_URL}/${RISCV_TOOLS_TARBALL} &&     tar xzf ${RISCV_TOOLS_TARBALL} &&     mkdir -p /tools &&     rsync -a ${RISCV_TOOLS_TARBALL%.tar.gz}/* /tools/
 ---> Using cache
 ---> 879098681049
Step 8/19 : COPY ./segger-libc/${RISCV_SEGGER_LIBC_TARBALL} ./
COPY failed: file not found in build context or excluded by .dockerignore: stat segger-libc/segger_libc-2020.08.2.tar.bz2: file does not exist

@djbuijs
Copy link

djbuijs commented Mar 15, 2023

Looks like segger materials were dropped in this commit: b528046. You can build without it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants