From 458b751e2531aa2bea58a164458d5db26d461319 Mon Sep 17 00:00:00 2001 From: Arjun Kondur Date: Thu, 14 Nov 2024 19:52:27 -0600 Subject: [PATCH] Fix unattended-upgrades --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index fbe7f58c8..e40f337a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,11 +37,10 @@ ENV OPERATOR=/manager \ RUN if grep -q 'Ubuntu' /etc/os-release; then \ apt-get update && \ apt-get install -y --no-install-recommends passwd && \ - useradd -ms /bin/bash nonroot -u 1001 && \ apt-get install -y --no-install-recommends krb5-locales && \ - apt-get upgrade -y && \ apt-get install -y --no-install-recommends unattended-upgrades && \ - unattended-upgrades -v --security && \ + useradd -ms /bin/bash nonroot -u 1001 && \ + unattended-upgrades -v && \ apt-get clean && rm -rf /var/lib/apt/lists/*; \ else \ yum -y install shadow-utils && \