From 1817f96578a31cbc719817433e9f7c592295094a Mon Sep 17 00:00:00 2001 From: kaiyou Date: Fri, 8 Jan 2021 07:13:26 +0100 Subject: [PATCH] Fix the Dockerfile in case of Kaniko build (#15510) Kaniko does not support looking up binaries from $PATH, so we specify the full path to the bash binary. Co-authored-by: kaiyou --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 95d45bab427..136b2a35ae6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:20.04 as build-dep # Use bash for the shell -SHELL ["bash", "-c"] +SHELL ["/usr/bin/bash", "-c"] # Install Node v12 (LTS) ENV NODE_VER="12.20.0"