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

RISC-V: update SC image #42

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions ubuntu-github-actions-riscv--22.04/Dockerfile-sc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Version: 20240709
# Version: 20240918
# Image name: quay.io/opencv-ci/opencv-ubuntu-22.04-riscv-sc
# Command: docker build -f ubuntu-github-actions-riscv--22.04/Dockerfile-sc -t quay.io/opencv-ci/opencv-ubuntu-22.04-riscv-sc:20240709 .
# Command: docker build -f ubuntu-github-actions-riscv--22.04/Dockerfile-sc -t quay.io/opencv-ci/opencv-ubuntu-22.04-riscv-sc:20240918 .

# 1. Build toolchain

Expand All @@ -16,9 +16,9 @@ RUN apt update && apt install -y \
python3 \
wget

ARG DL_ID=1q_f7wqvi8sPrEC5uq4uKNE3iZLbKgELA
ARG DL_FNAME=sc-dt-2024.05.tar.gz
ARG DL_SHA1=5b31f36882ebbba6fe34fa7baa40f7742685354f
ARG DL_ID=1bon577_SBAIwLkxDstTtV7f18ZkRNJ5S
ARG DL_FNAME=sc-dt-2024.08.tar.gz
ARG DL_SHA1=e6e64645a249b579a39b729e9b75f6d7cef98a73

WORKDIR /opt
RUN \
Expand All @@ -27,7 +27,13 @@ RUN \
"https://drive.usercontent.google.com/download?id=${DL_ID}&export=download&authuser=0&confirm=t" \
&& echo "${DL_SHA1} ${DL_FNAME}" | sha1sum -c \
&& tar -xvf ${DL_FNAME} \
&& rm -rf sc-dt/docs sc-dt/workspace sc-dt/eclipse sc-dt/vscode-extension
&& rm -rf \
sc-dt/docs \
sc-dt/workspace \
sc-dt/eclipse \
sc-dt/vscode-extension \
sc-dt/tools/bin/qemu-system-* \
sc-dt/tools/bin/qemu-{aarch64,riscv32,x86_64}

#====================================================================
# 2. Common utils
Expand Down