Skip to content

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

Description

@bougwal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions