7 lines
258 B
Text
7 lines
258 B
Text
|
FROM alpine
|
||
|
RUN apk -U add alpine-sdk doas
|
||
|
RUN echo "permit nopass :wheel" >> /etc/doas.d/doas.conf
|
||
|
RUN adduser -D user && adduser user abuild && adduser user wheel
|
||
|
USER user
|
||
|
CMD ["/bin/sh", "-c", "for port in /aports/*; do cd \"$port\" && abuild -r; done"]
|