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

Configuring Automated Builds in Understanding Docker Hub chapter: Indicated Build Context path needs to be updated so the build succeed #4

Open
bougwal opened this issue Jul 25, 2021 · 0 comments

Comments

@bougwal
Copy link

bougwal commented Jul 25, 2021

Reference: page 81 paragraph 2, line 10 in the configuration of the automated builds steps (step 3).

The indicated path in this edition for the build context is: "./chapter02/dockerfile-example/".
This will cause the build to fail with the message:
Dockerfile not found at ./chapter02/dockerfile-example/./chapter02/dockerfile-example/

To succeed I did the following:

  1. I set the Dockerfile location to: /chapter02/dockerfile-example/Dockerfile
  2. left the build context empty.

docker hub config
Successful build

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

No branches or pull requests

1 participant