Skip to content
Merged
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
9 changes: 9 additions & 0 deletions src/ubuntu/20.04/cross/riscv64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
FROM mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-20.04-crossdeps

ADD rootfs.riscv64.tar crossrootfs

# Install llvm 15 so we get the 'Relax R_RISCV_ALIGN' fix
# * https://github.com/llvm/llvm-project/issues/44181
# * https://github.com/llvm/llvm-project/commit/6611d58f5bbcbec77262d392e2923e1d680f6985
#
# Use installation script from llvm.org and cleanup apt lists because
# it uses apt's update and install commands.
RUN wget -O- https://apt.llvm.org/llvm.sh | bash -s -- 15 all \
&& rm -rf /var/lib/apt/lists/*