kuard icon indicating copy to clipboard operation
kuard copied to clipboard

Build Error with Kaurd "/go/bin/kuard": not found

Open pfilbin90 opened this issue 1 year ago • 4 comments

I am on page 24 of Kubernetes up and Running, I am trying to run the example app for the first time.

git clone https://github.com/kubernetes-up-and-running/kuard
cd kuard
docker build -t kuard .

I get the following error...

 => ERROR [stage-1 2/2] COPY --from=build /go/bin/kuard /kuard                                                                                                                      0.0s
------
 > [stage-1 2/2] COPY --from=build /go/bin/kuard /kuard:
------
Dockerfile:31
--------------------
  29 |
  30 |     USER nobody:nobody
  31 | >>> COPY --from=build /go/bin/kuard /kuard
  32 |
  33 |     CMD [ "/kuard" ]
--------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 1670e558-a5e0-44b8-90d8-a38b092afef2::bvhmpv59qxdu9ec710i1goekg: "/go/bin/kuard": not found

What can I do to resolve?

pfilbin90 avatar Nov 02 '23 21:11 pfilbin90