Merge pull request #99067 from vinayakankugoyal/dockerfile3
Use ARG and --build-arg instead of sed for build-image.
This commit is contained in:
@@ -13,7 +13,9 @@
|
||||
# limitations under the License.
|
||||
|
||||
# This file creates a standard build environment for building Kubernetes
|
||||
FROM k8s.gcr.io/build-image/kube-cross:KUBE_BUILD_IMAGE_CROSS_TAG
|
||||
ARG KUBE_BUILD_IMAGE_CROSS_TAG
|
||||
|
||||
FROM k8s.gcr.io/build-image/kube-cross:${KUBE_BUILD_IMAGE_CROSS_TAG}
|
||||
|
||||
# Mark this as a kube-build container
|
||||
RUN touch /kube-build-image
|
||||
|
Reference in New Issue
Block a user