File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,7 +53,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5353 libtool \
5454 tree \
5555 openjdk-17-jdk \
56+ lcov \
5657 libpcre2-dev \
58+ gcc-riscv64-unknown-elf \
5759 help2man && \
5860 apt-get clean && \
5961 rm -rf /var/lib/apt/lists/*
@@ -128,6 +130,10 @@ RUN mkdir /var/run/sshd && \
128130
129131# Switch to the new user
130132USER user
133+
134+ RUN pip3 install toffee-test filelock && \
135+ pip3 install pytoffee==0.2.3
136+
131137# Set the default shell to bash
132138SHELL ["/bin/bash" , "-c" ]
133139# Set working directory
Original file line number Diff line number Diff line change 1- FROM ghcr.io/xs-mlvp/envbase:latest
1+ FROM tutorial_base
22
33USER user
44WORKDIR /workspace
55
66
77RUN echo 'export PATH="$HOME/.local/bin:$PATH"' >> /home/user/.bashrc
88
9- RUN pip3 install toffee-test filelock && \
10- pip3 install pytoffee==0.2.3 && \
11- git clone https://github.com/XS-MLVP/tutorial-records.git --depth=1 && \
9+ RUN git clone https://github.com/XS-MLVP/tutorial-records.git --depth=1 && \
1210 mv tutorial-records/tutorials/code-samples . && \
1311 rm -rf tutorial-records
1412
15- RUN sudo apt-get update && sudo apt-get install -y --no-install-recommends \
16- lcov && \
17- sudo apt-get clean && \
18- sudo rm -rf /var/lib/apt/lists/*
19-
2013RUN cd code-samples && \
2114 git clone https://github.com/OpenXiangShan/XSPdb.git --depth=1 xspdb && \
2215 cd xspdb && \
You can’t perform that action at this time.
0 commit comments