Skip to content

Conversation

@MikeMcC399
Copy link
Collaborator

Situation

Build examples, such as the following in the factory/README > In the Dockerfile document section:

docker build . -t test

do not correspond to the official docker build documentation docker buildx build which shows the following as the docker CLI syntax:

docker buildx build [OPTIONS] PATH | URL | -

In the official documentation examples, the PATH parameter ., indicating the current directory, is always shown at the end of the command line.

Change

Align all docker build examples to show the PATH parameter . at the end of the CLI command line.

Notes

The test.sh scripts in examples sub-directories are already aligned to the official Docker documentation syntax.

docker build is an alias for docker buildx build (but see also Difference between docker build and docker buildx build).

@cypress-app-bot
Copy link

@MikeMcC399 MikeMcC399 marked this pull request as ready for review September 18, 2025 09:14
@jennifer-shehane jennifer-shehane merged commit 8e68c65 into cypress-io:master Sep 18, 2025
51 checks passed
@MikeMcC399 MikeMcC399 deleted the build-cli-path-position branch September 18, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants