We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba97edc commit 7b0f7d5Copy full SHA for 7b0f7d5
Dockerfile
@@ -1,5 +1,8 @@
1
-ARG BUILDER_IMAGE
2
-FROM --platform=$BUILDPLATFORM ${BUILDER_IMAGE} as builder
+# To avoid the `InvalidDefaultArgInFrom` warning during build time,
+# we add a non-existent default builder image.
3
+# https://docs.docker.com/reference/build-checks/invalid-default-arg-in-from/
4
+ARG BUILDER_IMAGE="clusterpedia.io/builder:not-build"
5
+FROM --platform=$BUILDPLATFORM ${BUILDER_IMAGE} AS builder
6
WORKDIR /clusterpedia
7
8
ARG BIN_NAME
0 commit comments