From 9f4fc128f15cb211bfe25710b43ba86ab062dc8a Mon Sep 17 00:00:00 2001 From: Domenic Bove Date: Mon, 21 Oct 2024 15:46:17 -0700 Subject: [PATCH] lets test if build completes without package --- docker/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 2768efc..fac3cb4 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -16,6 +16,11 @@ ARG TRITON_VERSION=23.05 ARG BASE_IMAGE=nvcr.io/nvidia/tritonserver:${TRITON_VERSION}-py3 FROM ${BASE_IMAGE} +# Removing git because of CVEs, no longer needed after build +RUN apt-get purge libarchive-dev -y && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* + RUN apt-get update && \ apt-get install -y --no-install-recommends \ autoconf \ @@ -79,4 +84,3 @@ WORKDIR /workspace RUN sed -i 's/#X11UseLocalhost yes/X11UseLocalhost no/g' /etc/ssh/sshd_config && \ mkdir /var/run/sshd -p -