Add package sudo
This commit is contained in:
parent
a16d0674de
commit
af8a2bec20
@ -5,7 +5,7 @@ FROM alpine:3.7
|
|||||||
LABEL maintainer "jar3b <hellotan@live.ru>"
|
LABEL maintainer "jar3b <hellotan@live.ru>"
|
||||||
RUN apk add --no-cache alpine-sdk libressl-dev mariadb-dev postgresql-dev gdbm-dev readline-dev bash libtool autoconf \
|
RUN apk add --no-cache alpine-sdk libressl-dev mariadb-dev postgresql-dev gdbm-dev readline-dev bash libtool autoconf \
|
||||||
automake perl-dev python2-dev openldap-dev krb5-dev unixodbc-dev linux-pam-dev sqlite-dev talloc-dev libpcap-dev \
|
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
|
linux-headers curl-dev hiredis-dev json-c-dev sudo
|
||||||
RUN adduser -D builder \
|
RUN adduser -D builder \
|
||||||
&& passwd -d builder \
|
&& passwd -d builder \
|
||||||
&& echo "builder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers \
|
&& echo "builder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user