initial commit
This commit is contained in:
commit
68e8ab190e
6 changed files with 162 additions and 0 deletions
7
Dockerfile.db
Normal file
7
Dockerfile.db
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue