some improvements

This commit is contained in:
ston1th 2019-08-11 22:16:06 +02:00
commit bae55a54f4
5 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,5 @@
FROM flant/shell-operator:latest FROM flant/shell-operator:latest
ADD hooks /hooks RUN echo -e "root:x:0:0:root:/:\nappuser:x:1000:1000:appuser:/:" > /etc/passwd
ADD cleanup.sh / RUN echo -e "root:x:0:root\nappuser:x:1000:" > /etc/group
ADD app /
USER appuser