From 78d8aec881ffd1e3065f2a2b5e5c437041aa6b28 Mon Sep 17 00:00:00 2001 From: Tuomas Katila Date: Wed, 22 May 2024 10:27:30 +0300 Subject: [PATCH 1/2] demo: opencl-icd: fix repo key install Signed-off-by: Tuomas Katila --- demo/intel-opencl-icd/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/intel-opencl-icd/Dockerfile b/demo/intel-opencl-icd/Dockerfile index 8d31f609b..287f711c1 100644 --- a/demo/intel-opencl-icd/Dockerfile +++ b/demo/intel-opencl-icd/Dockerfile @@ -5,7 +5,7 @@ ARG APT="env DEBIAN_FRONTEND=noninteractive apt" RUN ${APT} update && ${APT} install -y curl gpg-agent \ && echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy/lts/2350 unified' | \ tee -a /etc/apt/sources.list.d/intel.list \ - && curl -s https://repositories.intel.com/graphics/intel-graphics.key | \ + && curl -s https://repositories.intel.com/gpu/intel-graphics.key | \ gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg \ && ${APT} update \ && ${APT} install -y --no-install-recommends \ From 18bd45f23999b24fa9d3c29c92d1328e9e61da28 Mon Sep 17 00:00:00 2001 From: Tuomas Katila Date: Wed, 22 May 2024 10:35:41 +0300 Subject: [PATCH 2/2] Revert "revertme: upgrade unstable-slim demo images to update libc" This reverts commit 569d06debb4c64c8ce94370fdf374cfa779c1a59. --- .github/workflows/lib-publish.yaml | 4 ++-- demo/accel-config-demo/Dockerfile | 2 +- demo/crypto-perf/Dockerfile | 6 +++--- demo/opae-nlb-demo/Dockerfile | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lib-publish.yaml b/.github/workflows/lib-publish.yaml index 93b2fd8d0..cbd27e2b9 100644 --- a/.github/workflows/lib-publish.yaml +++ b/.github/workflows/lib-publish.yaml @@ -39,8 +39,8 @@ jobs: - intel-xpumanager-sidecar # # Demo images - #- crypto-perf - #- opae-nlb-demo + - crypto-perf + - opae-nlb-demo steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 diff --git a/demo/accel-config-demo/Dockerfile b/demo/accel-config-demo/Dockerfile index e1db15805..b3ff8a347 100644 --- a/demo/accel-config-demo/Dockerfile +++ b/demo/accel-config-demo/Dockerfile @@ -31,7 +31,7 @@ RUN cd / && git clone --recurse-submodules --depth 1 --branch v1.5.0 https://git FROM debian:unstable-slim -RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends pciutils accel-config accel-config-test kmod && rm -rf /var/lib/apt/lists/\* +RUN apt-get update && apt-get install -y --no-install-recommends pciutils accel-config accel-config-test && rm -rf /var/lib/apt/lists/\* RUN sed -i -e '420,429d;480,489d' /usr/libexec/accel-config/test/iaa_user_test_runner.sh COPY --from=builder /usr/local /usr/local diff --git a/demo/crypto-perf/Dockerfile b/demo/crypto-perf/Dockerfile index f7ff318e5..d15636def 100644 --- a/demo/crypto-perf/Dockerfile +++ b/demo/crypto-perf/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:unstable-slim as builder +FROM debian:sid-slim as builder ARG DIR=/dpdk-build WORKDIR $DIR @@ -37,8 +37,8 @@ RUN mkdir -p /install_root/licenses/dpdk && \ cd /install_root/licenses/dpdk && \ apt-get source --download-only -y libatomic1 libnuma1 -FROM debian:unstable-slim -RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends libipsec-mb1 libnuma1 libatomic1 && ldconfig -v +FROM debian:sid-slim +RUN apt-get update && apt-get install -y --no-install-recommends libipsec-mb1 libnuma1 libatomic1 && ldconfig -v COPY --from=builder /install_root / COPY run-dpdk-test /usr/bin/ diff --git a/demo/opae-nlb-demo/Dockerfile b/demo/opae-nlb-demo/Dockerfile index ba6311907..e21e54792 100644 --- a/demo/opae-nlb-demo/Dockerfile +++ b/demo/opae-nlb-demo/Dockerfile @@ -26,7 +26,7 @@ RUN cd /usr/src/opae/opae-sdk-${OPAE_RELEASE} && \ FROM debian:unstable-slim -RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y libjson-c5 +RUN apt-get update && apt-get install --no-install-recommends -y libjson-c5 # Copy required nlb* utils and their dependencies to the final image COPY --from=builder /usr/src/opae/opae-sdk-*/build/bin/nlb* /usr/local/bin/