Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ COPY --from=fetcher /tmp/grpcurl /usr/local/bin/grpcurl
# Installing fortio
COPY --from=fetcher /tmp/fortio /usr/local/bin/fortio

# Installing skbdump
COPY --from=fetcher /tmp/skbdump /usr/local/bin/skbdump


# Setting User and Home
USER root
WORKDIR /root
Expand Down
16 changes: 16 additions & 0 deletions build/fetch_binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,25 @@ get_fortio() {
}


get_skbdump() {
VERSION=$(get_latest_release jschwinger233/skbdump | sed -e 's/^v//')
if [ "$ARCH" == "amd64" ]; then
LINK="https://github.com/jschwinger233/skbdump/releases/download/v${VERSION}/skbdump_${VERSION}_linux_${ARCH}.tar.gz"

wget "$LINK" -O /tmp/skbdump.tar.gz && \
tar -zxvf /tmp/skbdump.tar.gz && \
mv "skbdump" /tmp/skbdump && \
chmod +x /tmp/skbdump
else
echo "skbdump not available for architecture ${ARCH}, skipping." > /tmp/skbdump
chmod +x /tmp/skbdump
fi
}

get_ctop
get_calicoctl
get_termshark
get_grpcurl
get_fortio
get_skbdump