aboutsummaryrefslogtreecommitdiffstats
path: root/docker/vnf
diff options
context:
space:
mode:
authorguillaume.lambert <guillaume.lambert@orange.com>2022-05-10 22:04:23 +0200
committerGuillaume Lambert <guillaume.lambert@orange.com>2023-03-21 09:13:19 +0000
commitb9fedb6868306a6e3145b7ee851ea3a84353df9c (patch)
tree0deebe33f61c377970a0c38b7679537523bca172 /docker/vnf
parent7677c43363c22c7bfca60855058af503860c63b8 (diff)
Stop bashing functest scripts
Though bash is a good interactive user shell and apart portability concerns, many UN*X systems and GNU+Linux distributions now prefers Almquist or Kornshell variants for scripting in order to improve the system performance and maintenability. https://wiki.ubuntu.com/DashAsBinSh https://mywiki.wooledge.org/Bashism https://en.wikipedia.org/wiki/Almquist_shell Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: I32c5490f9eab54e6cac594f3eac1e392edf8b272
Diffstat (limited to 'docker/vnf')
-rw-r--r--docker/vnf/hooks/post_checkout2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/vnf/hooks/post_checkout b/docker/vnf/hooks/post_checkout
index 8d0e98124..c347524ea 100644
--- a/docker/vnf/hooks/post_checkout
+++ b/docker/vnf/hooks/post_checkout
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
from="${DOCKER_REPO%/*}/functest-core:${DOCKER_TAG}"
sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile