Skip to content

Commit

Permalink
Just use /home/user instead of opt
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott-Guest committed May 22, 2024
1 parent 1496323 commit 7a96f9f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/actions/with-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ RUN curl -sSL https://install.python-poetry.org | python3 -

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

RUN mkdir /opt/riscv && \
chown root /opt/riscv

ENV RISCV=/opt/riscv
ENV RISCV=/home/user/riscv
ENV PATH=$PATH:$RISCV/bin

RUN mkdir $RISCV

RUN git clone --recursive https://github.com/riscv/riscv-gnu-toolchain -b 2024.04.12 && \
cd riscv-gnu-toolchain && \
./configure --prefix=$RISCV --enable-multilib && \
Expand Down

0 comments on commit 7a96f9f

Please sign in to comment.