no password for builder user

This commit is contained in:
George K 2018-02-15 20:19:00 +03:00
parent 3b91a9b67f
commit 906f7c6187

View File

@ -7,7 +7,7 @@ RUN apk add --no-cache alpine-sdk libressl-dev mariadb-dev postgresql-dev gdbm-d
automake perl-dev python2-dev openldap-dev krb5-dev unixodbc-dev linux-pam-dev sqlite-dev talloc-dev libpcap-dev \
linux-headers curl-dev hiredis-dev json-c-dev
RUN adduser -D builder \
&& echo "builder:123" | chpasswd \
&& passwd -d builder \
&& echo "builder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers \
&& addgroup builder abuild \
&& chgrp abuild /var/cache/distfiles \