diff --git a/Dockerfile b/Dockerfile index 3002a142b..766a8bb00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,7 +53,7 @@ RUN PLUGINS=$(find "$PLUGINS_DIR" -mindepth 1 -maxdepth 1 -type d) && \ cp -r core/pb /pb # Stage bess: creates the runtime image of BESS -FROM ubuntu:22.04 AS bess +FROM ubuntu:24.04 AS bess WORKDIR / COPY requirements.txt . RUN apt-get update && apt-get install -y \ @@ -66,7 +66,7 @@ RUN apt-get update && apt-get install -y \ tcpdump && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* && \ - pip install --no-cache-dir -r requirements.txt + pip install --no-cache-dir --break-system-packages -r requirements.txt COPY --from=bess-build /opt/bess /opt/bess COPY --from=bess-build /bin/bessd /bin/bessd COPY --from=bess-build /bin/modules /bin/modules