Skip to content

Repeated lines in docs #24163

@Cyt1xxx

Description

@Cyt1xxx

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Other

Description

In the former case, the whole path is used as a Docker context to execute a Docker build, looking for a canonical Dockerfile at the root of the directory. The path can be absolute or relative. If it is relative, it is resolved from the directory containing your Compose file. If it is absolute, the path prevents the Compose file from being portable so Compose displays a warning.

In the latter case, build arguments can be specified, including an alternate Dockerfile location. The path can be absolute or relative. If it is relative, it is resolved from the directory containing your Compose file. If it is absolute, the path prevents the Compose file from being portable so Compose displays a warning.

Repeated text in the docs, can make reading experience kind of ambiguous.

Location

https://docs.docker.com/reference/compose-file/build/

Suggestion

Just redact the repeated text to appear only once

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions