From 5cfcad9a47ed3afb19aeaebd4d47eb4ae1d1c675 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Wed, 5 May 2021 16:17:20 +0300 Subject: [PATCH] Centos runs on root --- .ci/release-ci/centos/Dockerfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.ci/release-ci/centos/Dockerfile b/.ci/release-ci/centos/Dockerfile index b718a9ea..f7109e1a 100644 --- a/.ci/release-ci/centos/Dockerfile +++ b/.ci/release-ci/centos/Dockerfile @@ -9,8 +9,4 @@ RUN dnf -y update \ wget \ sudo \ && dnf clean all \ - && rm -rf /var/cache/yum \ - && adduser --password='' -m nonroot \ - && echo 'nonroot ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers -USER nonroot -WORKDIR /home/nonroot + && rm -rf /var/cache/yum