Skip to content

Commit

Permalink
Install riscv-gnu-toolchain and riscof in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott-Guest committed Jun 5, 2024
1 parent 2260507 commit e7e9a8e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/actions/with-docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
ARG K_VERSION
FROM runtimeverificationinc/kframework-k:ubuntu-jammy-${K_VERSION}

ARG TOOLCHAIN_VERSION
FROM runtimeverificationinc/riscv-gnu-toolchain:ubuntu-jammy-${TOOLCHAIN_VERSION} as TOOLCHAIN
COPY --from=TOOLCHAIN /opt/riscv/bin /home/user/riscv/bin

ARG PYTHON_VERSION=3.10

RUN apt-get -y update \
Expand All @@ -20,3 +24,7 @@ WORKDIR /home/user

ENV PATH=/home/user/.local/bin:${PATH}
RUN curl -sSL https://install.python-poetry.org | python3 -

ENV PATH=/home/user/riscv/bin:${PATH}

RUN pip3 install git+https://github.com/riscv/riscof.git

0 comments on commit e7e9a8e

Please sign in to comment.