initial commit

This commit is contained in:
ston1th 2018-12-24 14:59:39 +01:00
commit 68e8ab190e
6 changed files with 162 additions and 0 deletions

7
Dockerfile.db Normal file
View file

@ -0,0 +1,7 @@
FROM scratch
ADD db /db
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
USER appuser
EXPOSE 8080
ENTRYPOINT ["/db"]