Skip to content

Commit

Permalink
add packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kirankn8 committed Nov 7, 2023
1 parent f0b27af commit 0c8ea20
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,7 @@ base-image:
END

RUN apt update && \
apt install --no-install-recommends zstd vim -y && \
apt install network-manager
apt install --no-install-recommends zstd vim network-manager -y
IF [ "$UPDATE_KERNEL" = "false" ]
RUN if dpkg -l linux-image-generic-hwe-20.04 > /dev/null; then apt-mark hold linux-image-generic-hwe-20.04; fi && \
if dpkg -l linux-image-generic-hwe-22.04 > /dev/null; then apt-mark hold linux-image-generic-hwe-22.04; fi && \
Expand Down Expand Up @@ -281,8 +280,7 @@ base-image:
END
# zypper up kernel-default && \
# zypper purge-kernels && \
RUN zypper install -y zstd vim
RUN zypper install NetworkManager
RUN zypper install -y zstd vim NetworkManager
RUN zypper cc && \
zypper clean
END
Expand Down

0 comments on commit 0c8ea20

Please sign in to comment.