This commit is contained in:
Jeremy Janella
2026-09-10 12:46:10 -04:00
commit d3896fdb0c
4 changed files with 70 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
FROM ubuntu:22.04
WORKDIR /mininet
RUN apt update && apt install -y \
mininet \
iproute2 \
iputils-ping \
net-tools \
build-essential \
git \
sudo \
gcc \
python2 \
python-setuptools \
curl \
wget
RUN mkdir fixes \
&& cd fixes \
&& curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py \
&& python2 get-pip.py
RUN pip2 install twisted
RUN ln -s /usr/bin/python2 /usr/bin/python
CMD /bin/bash