From 85c3423f632826cb1e9cba3fd4f0cdfe03031a89 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 Apr 2024 15:01:05 +0000 Subject: [PATCH 1/2] Bump ubuntu from 22.04 to 24.04 Bumps ubuntu from 22.04 to 24.04. --- updated-dependencies: - dependency-name: ubuntu dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3002a142b..e21af15cb 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 \ From a028698121e27efde2cb09f87e3767e2d028b152 Mon Sep 17 00:00:00 2001 From: gab-arrobo Date: Tue, 30 Apr 2024 13:12:47 -0500 Subject: [PATCH 2/2] Address issue installing Python packages --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e21af15cb..766a8bb00 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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