mirror of
https://github.com/sobolevn/git-secret
synced 2024-11-06 15:20:36 +00:00
Centos runs on root
This commit is contained in:
parent
f65d76d551
commit
5cfcad9a47
@ -9,8 +9,4 @@ RUN dnf -y update \
|
|||||||
wget \
|
wget \
|
||||||
sudo \
|
sudo \
|
||||||
&& dnf clean all \
|
&& dnf clean all \
|
||||||
&& rm -rf /var/cache/yum \
|
&& rm -rf /var/cache/yum
|
||||||
&& adduser --password='' -m nonroot \
|
|
||||||
&& echo 'nonroot ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
|
||||||
USER nonroot
|
|
||||||
WORKDIR /home/nonroot
|
|
||||||
|
Loading…
Reference in New Issue
Block a user