Loading src/tests/ryu-openflow/Ryu.Dockerfile +3 −7 Original line number Diff line number Diff line Loading @@ -14,9 +14,7 @@ FROM python:3.9-slim RUN apt-get update && apt-get install -y --no-install-recommends \ git iproute2 && \ rm -rf /var/lib/apt/lists/* RUN apt-get update && apt-get install -y --no-install-recommends git iproute2 && rm -rf /var/lib/apt/lists/* RUN pip install --no-cache-dir --upgrade pip # NOTE: Ryu 4.34 expects eventlet.wsgi.ALREADY_HANDLED, which disappears in Eventlet ≥ 0.30.3. Loading @@ -24,8 +22,7 @@ RUN pip install --no-cache-dir --upgrade pip RUN pip install --no-cache-dir --upgrade pip \ && pip install --no-cache-dir "setuptools<58" "wheel" \ && pip install --no-cache-dir --no-build-isolation \ "git+https://github.com/faucetsdn/ryu.git@v4.34" \ "eventlet<0.30.3" "git+https://github.com/faucetsdn/ryu.git@v4.34" "eventlet<0.30.3" #COPY apps/ /opt/ryu-apps/ # Copy Ryu Apps, if any Loading @@ -34,5 +31,4 @@ WORKDIR /opt/ryu-apps # --- OpenFlow & Ryu REST API ports --- EXPOSE 6653/tcp 8080/tcp CMD ["python", "-m", "ryu.cmd.manager", "--verbose","ryu.app.ofctl_rest"] CMD ["ryu-manager", "--verbose", "--observe-links", "ryu.app.ofctl_rest", "ryu.app.gui_topology.gui_topology"] Loading
src/tests/ryu-openflow/Ryu.Dockerfile +3 −7 Original line number Diff line number Diff line Loading @@ -14,9 +14,7 @@ FROM python:3.9-slim RUN apt-get update && apt-get install -y --no-install-recommends \ git iproute2 && \ rm -rf /var/lib/apt/lists/* RUN apt-get update && apt-get install -y --no-install-recommends git iproute2 && rm -rf /var/lib/apt/lists/* RUN pip install --no-cache-dir --upgrade pip # NOTE: Ryu 4.34 expects eventlet.wsgi.ALREADY_HANDLED, which disappears in Eventlet ≥ 0.30.3. Loading @@ -24,8 +22,7 @@ RUN pip install --no-cache-dir --upgrade pip RUN pip install --no-cache-dir --upgrade pip \ && pip install --no-cache-dir "setuptools<58" "wheel" \ && pip install --no-cache-dir --no-build-isolation \ "git+https://github.com/faucetsdn/ryu.git@v4.34" \ "eventlet<0.30.3" "git+https://github.com/faucetsdn/ryu.git@v4.34" "eventlet<0.30.3" #COPY apps/ /opt/ryu-apps/ # Copy Ryu Apps, if any Loading @@ -34,5 +31,4 @@ WORKDIR /opt/ryu-apps # --- OpenFlow & Ryu REST API ports --- EXPOSE 6653/tcp 8080/tcp CMD ["python", "-m", "ryu.cmd.manager", "--verbose","ryu.app.ofctl_rest"] CMD ["ryu-manager", "--verbose", "--observe-links", "ryu.app.ofctl_rest", "ryu.app.gui_topology.gui_topology"]