Files
mininet-container/Dockerfile
T
2026-11-08 16:19:44 -05:00

29 lines
523 B
Docker

FROM ubuntu:22.04
WORKDIR /root
RUN apt update && apt install -y \
iproute2 \
iputils-ping \
net-tools \
build-essential \
git \
sudo \
gcc \
python2 \
python-setuptools \
curl \
wget \
tmux \
htop \
lsof
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 mininet
RUN ln -s /usr/bin/python2 /usr/bin/python
WORKDIR /mininet/cs144_lab3
CMD /bin/bash