File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1- FROM alpine:3.19 as base_gcc
1+ FROM alpine:3.19 AS base_gcc
22
33RUN apk add --update alpine-sdk git wget
44
@@ -10,7 +10,7 @@ COPY . .
1010RUN make ENABLE_SDL=0
1111RUN make tool
1212
13- FROM alpine:3.19 as final
13+ FROM alpine:3.19 AS final
1414
1515# copy in elf files
1616COPY ./build/*.elf /home/root/rv32emu/build/
Original file line number Diff line number Diff line change 11# we align the version used in riscv-toolchain-install.sh
22
3- FROM ubuntu:24.04 as base
3+ FROM ubuntu:24.04 AS base
44
55# for x86-64, we can optimize this part and take the upstream (nightly) build directly
66# for aarch64, we need to build from scratch because the upstream toolchain is only built for x86-64
@@ -16,7 +16,7 @@ RUN cd riscv-gnu-toolchain && \
1616 make -j$(nproc) newlib && \
1717 make clean
1818
19- FROM ubuntu:24.04 as final
19+ FROM ubuntu:24.04 AS final
2020
2121# Keep the GNU Toolchain files only
2222COPY --from=base /opt/riscv/ /opt/riscv/
Original file line number Diff line number Diff line change 1- FROM ubuntu:24.04 as base
1+ FROM ubuntu:24.04 AS base
22
33# The upstream reference emulator is built for x86-64, and the releases are pretty out of date
44# Thus, we build it ourselves for both x86-64 and aarch64
@@ -21,7 +21,7 @@ RUN cd sail-riscv && \
2121 make && \
2222 ARCH=RV32 make
2323
24- FROM ubuntu:24.04 as final
24+ FROM ubuntu:24.04 AS final
2525
2626# keep the emulator only
2727COPY --from=base /sail-riscv/c_emulator/riscv_sim_RV32 /home/root/riscv_sim_RV32
You can’t perform that action at this time.
0 commit comments