* yet another permission fix

meow
Dominika Liberda 2022-04-16 16:51:26 +02:00
parent 560c3d973a
commit 53d60e2b62
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,9 @@ FROM alpine:edge
RUN echo -e "http://alpine.sakamoto.pl/alpine/edge/main\nhttp://alpine.sakamoto.pl/alpine/edge/community\nhttp://alpine.sakamoto.pl/alpine/edge/testing" > /etc/apk/repositories \
&& apk update && apk add micro abuild atools alpine-sdk sudo \
&& adduser -G abuild -D -u 1001 domi \
&& echo "domi ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers
&& echo "domi ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers
RUN mkdir /home/domi/packages && chown domi:abuild -R /home/domi/
VOLUME /aports