Skip to content

Write “AS” in uppercase in Dockerfile#400

Merged
marc-vanderwal merged 1 commit intozonemaster:developfrom
marc-vanderwal:bugfix/dockerfile-warning
Dec 3, 2024
Merged

Write “AS” in uppercase in Dockerfile#400
marc-vanderwal merged 1 commit intozonemaster:developfrom
marc-vanderwal:bugfix/dockerfile-warning

Conversation

@marc-vanderwal
Copy link
Contributor

Purpose

This PR fixes a warning that appeared when running docker build on my test system (Rocky Linux 9):

 1 warning found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)

Context

Release testing for 2024.2.

Changes

  • Write “FROM … AS” instead of “FROM … as” in the Dockerfile.

How to test this PR

Build the container for zonemaster-cli according to the documented procedure. No warning should appear. (Although one should also check if the warning is generated by reverting this change.)

Running “docker build” on Zonemaster-Engine caused a warning to appear
on my test system:

 1 warning found (use docker --debug to expand):
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
@tgreenx tgreenx added the V-Patch Versioning: The change gives an update of patch in version. label Dec 2, 2024
@marc-vanderwal marc-vanderwal merged commit b43c09a into zonemaster:develop Dec 3, 2024
@marc-vanderwal marc-vanderwal deleted the bugfix/dockerfile-warning branch December 19, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

V-Patch Versioning: The change gives an update of patch in version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants