Skip to content

Commit

Permalink
[#51921] Dockerfile: Switch to use renode-run
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Torhan <[email protected]>
  • Loading branch information
m-torhan committed Nov 29, 2023
1 parent 2cb2eb2 commit fd7df9d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@ RUN $PIPINST -r requirements.txt

RUN ./install_toolchain.sh toolchain_backups/toolchain_iree_rv32_20220307.tar.gz
RUN ./download_iree_compiler.py
RUN ./download_renode.py

RUN pip3 install /build_tools/kenning[tensorflow,reports,uart,renode,object_detection]

RUN $PIPINST -r build/renode/tests/requirements.txt

FROM ubuntu:22.04

ENV INST 'apt-get install -y --no-install-recommends'
Expand Down Expand Up @@ -59,12 +56,12 @@ RUN apt-get update && $INST \
xxd \
&& apt-get autoremove && apt-get clean && rm -rf /var/lib/apt/lists/*

COPY --from=builder /build_tools/build/renode/renode /usr/bin/renode
COPY --from=builder /build_tools/build/iree_compiler/ /usr/local/iree_compiler
COPY --from=builder /build_tools/build/toolchain_iree_rv32imf /usr/local/toolchain_iree_rv32imf
COPY --from=builder /usr/local /usr/local

RUN $PIPINST \
git+https://github.com/antmicro/renode-run \
iree-compiler~=20230209.425 \
iree-runtime~=20230209.425 \
iree-tools-tf~=20230209.425 \
Expand Down

0 comments on commit fd7df9d

Please sign in to comment.