Skip to content

Commit

Permalink
add basic network utils
Browse files Browse the repository at this point in the history
Signed-off-by: Nianyu Shen <[email protected]>
  • Loading branch information
nianyush committed Nov 18, 2023
1 parent b06a4e5 commit 0b0e2ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ base-image:
END

RUN apt update && \
apt install --no-install-recommends zstd vim -y
apt install --no-install-recommends zstd vim iputils-ping bridge-utils curl -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 @@ -280,7 +280,7 @@ base-image:
END
# zypper up kernel-default && \
# zypper purge-kernels && \
RUN zypper install -y zstd vim
RUN zypper install -y zstd vim iputils bridge-utils curl
RUN zypper cc && \
zypper clean
END
Expand Down

0 comments on commit 0b0e2ab

Please sign in to comment.