cypress-io / cypress-docker-images

Docker images with Cypress dependencies and browsers
https://on.cypress.io/continuous-integration
MIT License
1.02k stars 380 forks source link

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

Closed MikeMcC399 closed 3 months ago

MikeMcC399 commented 3 months ago

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 commented 3 months ago