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 13e5b78
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,9 @@
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

ARG PYTHON_VERSION=3.10

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

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

COPY --from=TOOLCHAIN /opt/riscv/bin /home/user/riscv/bin
ENV PATH=/home/user/riscv/bin:${PATH}

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

0 comments on commit 13e5b78

Please sign in to comment.