FROM flant/shell-operator:latest RUN echo -e "root:x:0:0:root:/:\nappuser:x:1000:1000:appuser:/:" > /etc/passwd RUN echo -e "root:x:0:root\nappuser:x:1000:" > /etc/group ADD hooks /hooks USER appuser