Skip to content

Commit

Permalink
Add platform flag to Golang binary to honor build platform
Browse files Browse the repository at this point in the history
  • Loading branch information
uriel-guzman committed Nov 6, 2024
1 parent 880ea0c commit da5ecd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/csi_driver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# limitations under the License.

# Build driver go binary
FROM golang:1.22.7 AS driver-builder
FROM --platform=$BUILDPLATFORM golang:1.22.7 AS driver-builder

ARG STAGINGVERSION

Expand Down

0 comments on commit da5ecd5

Please sign in to comment.