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

build: use uppercase FROM / AS combination in Dockerfile #1140

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

MikeMcC399
Copy link
Collaborator

Issue

When running docker compose build factory under Docker Desktop for Linux, a warning is output:

=> [factory internal] load build definition from factory.Dockerfile
=> => transferring dockerfile: 4.84kB
=> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 4)

Change

Modify the following to use upper case "AS" to match the case of "FROM"

Verify

Ubuntu 22.04.4 LTS
Node.js v20.15.0
Docker version 27.0.3
Docker Desktop 4.31.0 (153195)

Execute the following and check that there is no WARN: FromAsCasing message output in the logs:

cd factory
docker compose build factory

@cypress-app-bot
Copy link

@MikeMcC399 MikeMcC399 marked this pull request as ready for review July 3, 2024 10:56
@jennifer-shehane jennifer-shehane merged commit 5322a16 into cypress-io:master Jul 3, 2024
33 checks passed
@MikeMcC399 MikeMcC399 deleted the from-as-casing branch July 3, 2024 11:37
simonmcnair added a commit to simonmcnair/stable-diffusion-webui-docker that referenced this pull request Jul 8, 2024
same issue as this:

cypress-io/cypress-docker-images#1140

 => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)                                      0.0s
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.

WARN: FromAsCasing when building Docker image on Linux
3 participants