Skip to content

Commit a42ebdb

Browse files
committed
Install binary riscv toolchain
1 parent e829255 commit a42ebdb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

containers/labs344/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=${TARGETPLATFORM}
2525
cmake \
2626
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*
2727

28+
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked,id=${TARGETPLATFORM}/var/cache/apt \
29+
apt-get update && export DEBIAN_FRONTEND=noninteractive \
30+
&& apt-get install -qqy --no-install-recommends \
31+
gcc-riscv64-unknown-elf \
32+
binutils-riscv64-unknown-elf \
33+
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/*
34+
2835
RUN git clone https://github.com/openhwgroup/cvw && \
2936
cd cvw && \
3037
git checkout main && \

0 commit comments

Comments
 (0)