]> cat aescling's git repositories - mastodon.git/commitdiff
Fix the Dockerfile in case of Kaniko build (#15510)
authorkaiyou <pierre@jaury.eu>
Fri, 8 Jan 2021 06:13:26 +0000 (07:13 +0100)
committerGitHub <noreply@github.com>
Fri, 8 Jan 2021 06:13:26 +0000 (07:13 +0100)
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>
Dockerfile

index 95d45bab427007e1e8fd2538ddc6dca229399927..136b2a35ae6b9c9b75bddae0d79d924b1f2bc30a 100644 (file)
@@ -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"
This page took 0.027353 seconds and 3 git commands to generate.