Skip to content

Commit

Permalink
Fix unattended-upgrades
Browse files Browse the repository at this point in the history
  • Loading branch information
akondur committed Nov 15, 2024
1 parent 2c61852 commit 458b751
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 458b751

Please sign in to comment.