From 53d22dee8e499b592dad19fa2c1f75d4a4408879 Mon Sep 17 00:00:00 2001 From: Vaishnavi Subhedar - Xilinx <141360387+SubhedarV@users.noreply.github.com> Date: Fri, 27 Sep 2024 15:43:03 -0700 Subject: [PATCH] installing systemctl and kernel modules --- Dockerfile/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile/Dockerfile b/Dockerfile/Dockerfile index e17ac7b1c2..3e6ca71796 100644 --- a/Dockerfile/Dockerfile +++ b/Dockerfile/Dockerfile @@ -51,7 +51,8 @@ RUN if [[ "${BASE_IMAGE}" == amazonlinux* ]]; then \ rm -f /tmp/${PACKAGE_FILE}; \ elif echo "${BASE_IMAGE}" | grep -q "ubuntu"; then \ bash -c 'apt-get update && \ - apt-get install -y wget && \ + apt-get install -y wget && \ + apt-get install -y wget systemd linux-headers-$(uname -r) && \ apt-get install -y ocl-icd-libopencl1 lsb-release dkms udev python3 ocl-icd-opencl-dev uuid-dev libboost-filesystem1.65.1 libboost-program-options1.65.1 libboost-system1.65.1 libprotobuf10 libyaml-0-2 && \ dpkg -i /tmp/${PACKAGE_FILE} || apt-get install -f -y && \ rm -f /tmp/${PACKAGE_FILE} && \