aboutsummaryrefslogtreecommitdiff
path: root/centos7-aarch64
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2016-04-30 12:31:07 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2016-04-30 12:31:07 +0300
commitfea7fbc34f9e9d89f209072c981c8cac58234468 (patch)
treed3891a851dbfeb72b2611c806c44407fe6ee5e0d /centos7-aarch64
parent7dec4cc79603fe38aea4413039117e84bc0869a2 (diff)
standardize to use SSH username with key instead of username with password
Change-Id: I860ed79c4b0bfba7255c02e3278ebdaf17005425 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'centos7-aarch64')
-rw-r--r--centos7-aarch64/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/centos7-aarch64/Dockerfile b/centos7-aarch64/Dockerfile
index e52b2349..3a705da6 100644
--- a/centos7-aarch64/Dockerfile
+++ b/centos7-aarch64/Dockerfile
@@ -12,7 +12,7 @@ RUN rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-7 \
yum-utils \
&& rm -rf /var/cache/yum/*
-RUN useradd -p '$6$7tSX2YU5Q$ydZwAuWtNPPBb1Fv/tzy3eFeEP/ThDBUjV/4vHVx6bVyfYMX6Q9PYhdV/CyJg7uthSIqIyzlNF65NVB1xwGtt0/' buildslave \
+RUN useradd buildslave \
&& echo 'buildslave ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/jenkins \
&& echo 'Defaults:buildslave !requiretty' >> /etc/sudoers.d/jenkins \
&& chmod 0440 /etc/sudoers.d/jenkins \