Skip to content

Commit 458b751

Browse files
committed
Fix unattended-upgrades
1 parent 2c61852 commit 458b751

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,10 @@ ENV OPERATOR=/manager \
3737
RUN if grep -q 'Ubuntu' /etc/os-release; then \
3838
apt-get update && \
3939
apt-get install -y --no-install-recommends passwd && \
40-
useradd -ms /bin/bash nonroot -u 1001 && \
4140
apt-get install -y --no-install-recommends krb5-locales && \
42-
apt-get upgrade -y && \
4341
apt-get install -y --no-install-recommends unattended-upgrades && \
44-
unattended-upgrades -v --security && \
42+
useradd -ms /bin/bash nonroot -u 1001 && \
43+
unattended-upgrades -v && \
4544
apt-get clean && rm -rf /var/lib/apt/lists/*; \
4645
else \
4746
yum -y install shadow-utils && \

0 commit comments

Comments
 (0)