Skip to content

Commit

Permalink
Add ethtool and tcpdump
Browse files Browse the repository at this point in the history
Signed-off-by: Nianyu Shen <[email protected]>
  • Loading branch information
nianyush committed Dec 23, 2023
1 parent 46393ba commit 868061a
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 @@ -249,7 +249,7 @@ base-image:
END

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

0 comments on commit 868061a

Please sign in to comment.