Browse Source
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 <dev@kaiyou.fr>
master
kaiyou
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
Dockerfile
|
@ -1,7 +1,7 @@ |
|
|
FROM ubuntu:20.04 as build-dep |
|
|
FROM ubuntu:20.04 as build-dep |
|
|
|
|
|
|
|
|
# Use bash for the shell |
|
|
# Use bash for the shell |
|
|
SHELL ["bash", "-c"] |
|
|
|
|
|
|
|
|
SHELL ["/usr/bin/bash", "-c"] |
|
|
|
|
|
|
|
|
# Install Node v12 (LTS) |
|
|
# Install Node v12 (LTS) |
|
|
ENV NODE_VER="12.20.0" |
|
|
ENV NODE_VER="12.20.0" |
|
|