Skip to content

image: use consistent casing in FROM directives#103

Merged
JoshuaWatt merged 1 commit intogarmin:masterfrom
amstewart:dev/warnings
May 16, 2025
Merged

image: use consistent casing in FROM directives#103
JoshuaWatt merged 1 commit intogarmin:masterfrom
amstewart:dev/warnings

Conversation

@amstewart
Copy link
Copy Markdown

As of docker runtime 28.0.1, the build command will issue a warning if the FROM and AS keywords have differing cases. It's annoying, but OK.

WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 445)

Make the keywords have consistent casing, to satisfy the warning.

Testing

  • With this patch in place, building pyrex containers no longer throws a dozen or so FromAsCasing warnings.

As of docker runtime 28.0.1, the build command will issue a warning if
the FROM and AS keywords have differing cases. It's annoying, but OK.

```
WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 445)
```

Make the keywords have consistent casing, to satisfy the warning.

Signed-off-by: Alex Stewart <alex.stewart@emerson.com>
@JoshuaWatt JoshuaWatt merged commit 869b476 into garmin:master May 16, 2025
@amstewart amstewart deleted the dev/warnings branch May 16, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants