1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
FROM alpine RUN \ apk update && \ apk add abuild sudo RUN \ echo "%wheel ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers RUN \ adduser -D cynerd && \ addgroup cynerd wheel && \ addgroup cynerd abuild USER cynerd RUN abuild-keygen -ian