kubernetes / cloud-provider-openstack

Apache License 2.0
623 stars 611 forks source link

Warnings reported while building the container images #2691

Closed mkumatag closed 2 weeks ago

mkumatag commented 1 month ago

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug /kind feature

/kind bug

What happened:

Following warnings reported while building container images

- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 41)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 49)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 70)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 88)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 112)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 120)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 130)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 152)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 172)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 190)
 - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 211)
 - FromPlatformFlagConstDisallowed: FROM --platform flag should not use constant value "linux/amd64" (line 41)
 - FromPlatformFlagConstDisallowed: FROM --platform flag should not use constant value "linux/amd64" (line 49)
 - RedundantTargetPlatform: Setting platform to predefined ${TARGETPLATFORM} in FROM is redundant as this is the default behavior (line 70)
 - RedundantTargetPlatform: Setting platform to predefined ${TARGETPLATFORM} in FROM is redundant as this is the default behavior (line 88)
 - RedundantTargetPlatform: Setting platform to predefined ${TARGETPLATFORM} in FROM is redundant as this is the default behavior (line 112)
 - RedundantTargetPlatform: Setting platform to predefined ${TARGETPLATFORM} in FROM is redundant as this is the default behavior (line 120)
 - RedundantTargetPlatform: Setting platform to predefined ${TARGETPLATFORM} in FROM is redundant as this is the default behavior (line 130)
 - RedundantTargetPlatform: Setting platform to predefined ${TARGETPLATFORM} in FROM is redundant as this is the default behavior (line 152)
 - RedundantTargetPlatform: Setting platform to predefined ${TARGETPLATFORM} in FROM is redundant as this is the default behavior (line 172)
 - RedundantTargetPlatform: Setting platform to predefined ${TARGETPLATFORM} in FROM is redundant as this is the default behavior (line 190)
 - RedundantTargetPlatform: Setting platform to predefined ${TARGETPLATFORM} in FROM is redundant as this is the default behavior (line 211)

What you expected to happen: No warnings

How to reproduce it:

$ make push-multiarch-images REGISTRY=<OWN_REGISTRY> VERSION=latest

Anything else we need to know?:

Environment:

Niharika0306 commented 1 month ago

/assign