aports/Dockerfile
2024-03-17 11:35:18 -04:00

6 lines
258 B
Docker

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"]