Install mininet

This commit is contained in:
2026-11-08 16:19:44 -05:00
parent be31d3c6f7
commit debc7d61dc
+1 -2
View File
@@ -3,7 +3,6 @@ FROM ubuntu:22.04
WORKDIR /root WORKDIR /root
RUN apt update && apt install -y \ RUN apt update && apt install -y \
mininet \
iproute2 \ iproute2 \
iputils-ping \ iputils-ping \
net-tools \ net-tools \
@@ -22,7 +21,7 @@ RUN mkdir fixes \
&& cd fixes \ && cd fixes \
&& curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py \ && curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py \
&& python2 get-pip.py && python2 get-pip.py
RUN pip2 install twisted RUN pip2 install twisted mininet
RUN ln -s /usr/bin/python2 /usr/bin/python RUN ln -s /usr/bin/python2 /usr/bin/python
WORKDIR /mininet/cs144_lab3 WORKDIR /mininet/cs144_lab3