Skip to content

Commit

Permalink
Merge pull request #13 from redhat-best-practices-for-k8s/revert-11-r…
Browse files Browse the repository at this point in the history
…evert-10-add_grpcurl

Revert "Revert "Add grpcurl to probe image""
  • Loading branch information
sebrandon1 authored Dec 2, 2024
2 parents 1773c97 + 5b25135 commit 9085ea3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ RUN \
dnf update --assumeyes --disableplugin=subscription-manager \
&& dnf install --assumeyes --disableplugin=subscription-manager \
ethtool \
golang \
iproute \
iptables \
iputils \
Expand All @@ -38,5 +39,10 @@ RUN \
&& dnf clean all --assumeyes --disableplugin=subscription-manager \
&& rm -fr /var/cache/yum \
&& mkdir /root/podman
# Set the GOPATH environment variable
ENV GOPATH=/go
# Add the Go binary directory to the PATH
ENV PATH=$GOPATH/bin:/usr/local/go/bin:$PATH
RUN go install github.com/fullstorydev/grpcurl/cmd/[email protected]
COPY --from=podman-builder /podman/bin/podman /root/podman/
VOLUME ["/host"]

0 comments on commit 9085ea3

Please sign in to comment.