Skip to content

Commit

Permalink
chore: update python version
Browse files Browse the repository at this point in the history
  • Loading branch information
penglei0 committed Aug 7, 2024
1 parent 1320751 commit e6f57cb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/config/containernet-docker-official/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ FROM containernet/containernet:latest

ARG DEBIAN_FRONTEND=noninteractive

# Install Python 3.10
RUN apt-get update && apt-get install -y software-properties-common && \
add-apt-repository -y ppa:deadsnakes/ppa

RUN apt-get update && apt-get install -y python3.10
RUN python3 --version
RUN python3 -m pip install --upgrade pip

# Install tools needed for development
RUN pip3 install PyYAML==6.0.1

# override the entry point of containernet w/ absolute path to avoid
Expand Down
2 changes: 1 addition & 1 deletion src/run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import os
import sys
import logging
import yaml
import platform
import yaml

# from mininet.cli import CLI
from mininet.log import setLogLevel
Expand Down

0 comments on commit e6f57cb

Please sign in to comment.