Open cemendes opened 4 years ago
iam getting the issue even after cloning the repo to my local machine. I can see the build/build.sh file but docker build keeps throwing the error /bin/sh: build/build.sh: not found
The book and/or this page needs to say that the source code needs to be downloaded. Otherwise, the build process fails with error: Removing intermediate container 8dd4b6c2b3be ---> d482ce3af5ca Step 11/15 : RUN build/build.sh ---> Running in 835b2b529591 /bin/sh: build/build.sh: not found
https://learning.oreilly.com/library/view/kubernetes-up-and/9781492046523/ch02.html
were you able to successfully build? can you share the steps? i cloned the repo and from the context of C:/kuard, i ran the docker build but i still get the same error can you please advise?
Related #30
My environment:
Commands I ran: $ git clone https://github.com/kubernetes-up-and-running/kuard.git $ cd kuard $ docker build -t kuard .
And it works!
Agreed, though, in Chapter 2: Creating and Running Containers, it's not clear that you need to download the entire repository to get this to work; it only mentions the Dockerfile and then:
Which implies that you can run those commands with only the Dockerfile.
The book and/or this page needs to say that the source code needs to be downloaded. Otherwise, the build process fails with error: Removing intermediate container 8dd4b6c2b3be ---> d482ce3af5ca Step 11/15 : RUN build/build.sh ---> Running in 835b2b529591 /bin/sh: build/build.sh: not found
https://learning.oreilly.com/library/view/kubernetes-up-and/9781492046523/ch02.html