From 9d7c783a93dd4693a009aae5e99156c1f187acaf Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Fri, 28 Sep 2018 11:44:48 -0700 Subject: Make dockerfiles a bit more consistent ... and add Mint 19 and CentOS 6. The latter currently fails in ctng's configure due to an old libtool; need to make libtool optional. Signed-off-by: Alexey Neyman --- testing/docker/common-scripts/su-as-user | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 testing/docker/common-scripts/su-as-user (limited to 'testing/docker/common-scripts/su-as-user') diff --git a/testing/docker/common-scripts/su-as-user b/testing/docker/common-scripts/su-as-user deleted file mode 100755 index 436eb54c..00000000 --- a/testing/docker/common-scripts/su-as-user +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -usr=$1 -uid=$2 -grp=$3 -gid=$4 -shift 4 - -groupadd -g ${gid} ${grp} -useradd -d /home/${usr} -m -g ${gid} -u ${uid} ${usr} -rm -f /home/${usr}/src -ln -sf /src /home/${usr}/src -if [ -z "$*" ]; then - exec su -l ${usr} -else - exec su -l -c "/bin/bash -c '$*'" ${usr} -fi -- cgit v1.2.3