Copilot commented on code in PR #81: URL: https://github.com/apache/cloudstack-kubernetes-provider/pull/81#discussion_r2556323465
########## Dockerfile: ########## @@ -15,10 +15,14 @@ # specific language governing permissions and limitations # under the License. -FROM golang:1.21 as builder +FROM --platform=$BUILDPLATFORM golang:1.21 AS builder +ARG TARGETPLATFORM +ARG BUILDPLATFORM Review Comment: [nitpick] The `ARG BUILDPLATFORM` and `ARG TARGETPLATFORM` declarations are not used within the build stage. Only `TARGETOS` and `TARGETARCH` are actually used in line 25. Consider removing the unused ARG declarations to keep the Dockerfile clean and clear about which arguments are actually utilized. ```suggestion ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
