Skip to content

Commit

Permalink
Update Dockerfile.saichallenger-client-bldr
Browse files Browse the repository at this point in the history
dpugen 0.2.3
apt update fails on some repos
munch requires rust
  • Loading branch information
mgheorghe authored Jun 6, 2024
1 parent fcbcf54 commit 6f34285
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions dash-pipeline/dockerfiles/Dockerfile.saichallenger-client-bldr
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Requires <url of sai-challenger branch> <commit sha> or something
# sc-client:240216
FROM sc-client:buster
FROM plvisiondevs/sc-client:buster-latest

ADD tests/ /tests/

Expand All @@ -10,16 +10,19 @@ ADD SAI/SAI/test/ptf /SAI/test/ptf
# Install PTF test framework & test-cases from SAI repo
ADD SAI/SAI/ptf /SAI/ptf/

# Install dependencies for dpugen==0.0.5
RUN apt-get update && \
apt-get install -y python3-lxml
# Install dependencies for dpugen==0.2.3
RUN apt-get update -y; exit 0
RUN apt-get install -y python3-lxml

# Install the python libraries
RUN python3 -m pip install -r /tests/requirements.txt && \
pip3 install scapy \
dpugen==0.2.3 \
pysubnettree \
macaddress \
munch
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install setuptools_rust
RUN python3 -m pip install -r /tests/requirements.txt
RUN python3 -m pip install scapy \
dpugen==0.2.3 \
pysubnettree \
macaddress \
munch

CMD ["/bin/bash"]

0 comments on commit 6f34285

Please sign in to comment.