Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Book nor this site says that the source code needs to be downloaded #28

Open
cemendes opened this issue Oct 15, 2019 · 4 comments
Open

Comments

@cemendes
Copy link

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

@jastis77
Copy link

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

@jastis77
Copy link

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?

@o-90
Copy link

o-90 commented Jun 17, 2020

Related #30

@rainleander
Copy link

My environment:

  • Docker version 19.03.12
  • macOS Catalina version 10.15.6

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:


You can build and run this image with the following commands:
$ docker build -t kuard .
$ docker run -rm -p 8000:8000 kuard

Which implies that you can run those commands with only the Dockerfile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants