Skip to content

Commit

Permalink
add --no-install-recommends to upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
santhoshdaivajna committed Apr 2, 2024
1 parent 6e4570c commit 440300c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ base-image:
if dpkg -l linux-image-generic > /dev/null; then apt-mark hold linux-image-generic linux-headers-generic linux-generic; fi
END
RUN apt update && \
apt upgrade -y
apt upgrade --no-install-recommends -y
RUN kernel=$(ls /boot/vmlinuz-* | tail -n1) && \
ln -sf "${kernel#/boot/}" /boot/vmlinuz
RUN kernel=$(ls /lib/modules | tail -n1) && \
Expand Down
2 changes: 1 addition & 1 deletion ubuntu-kairos-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ARG MODEL=generic
ARG BASE_IMAGE
ARG VARIANT
ARG VERSION
ARG FRAMEWORK_VERSION=master
ARG FRAMEWORK_VERSION=v2.4.5
# Not to be confused with the concept of MODEL, this is either fips or generic
ARG SECURITY_PROFILE=generic
# TARGETARCH is used to determine the architecture of the image
Expand Down

0 comments on commit 440300c

Please sign in to comment.