From a3e7d21d39bbc1f36d84eac93b772a5fe163696c Mon Sep 17 00:00:00 2001 From: Glyn Normington Date: Tue, 29 Jan 2019 09:40:29 +0000 Subject: [PATCH] Prevent RUN_IMAGE from being overridden in build template Ref https://github.com/projectriff/riff/issues/1081 --- riff-cnb-buildtemplate.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/riff-cnb-buildtemplate.yaml b/riff-cnb-buildtemplate.yaml index fd59444..d0df935 100644 --- a/riff-cnb-buildtemplate.yaml +++ b/riff-cnb-buildtemplate.yaml @@ -28,9 +28,6 @@ spec: - name: FUNCTION_LANGUAGE default: "" description: Explicit language to use for the function, will skip detection. - - name: RUN_IMAGE - description: The run image buildpacks will use as the base for IMAGE. - default: packs/run:v3alpha2 - name: USE_CRED_HELPERS description: Use Docker credential helpers for Google's GCR, Amazon's ECR, or Microsoft's ACR. default: 'true' @@ -72,7 +69,7 @@ spec: args: ["${IMAGE}"] env: - name: PACK_RUN_IMAGE - value: ${RUN_IMAGE} + value: packs/run:v3alpha2 - name: PACK_USE_HELPERS value: ${USE_CRED_HELPERS} imagePullPolicy: Always