aports/Dockerfile

7 lines
258 B
Text
Raw Normal View History

2024-03-17 15:35:18 +00:00
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"]