Docker: Using sismics/data for data image

This commit is contained in:
Walter 2015-03-11 14:31:10 +01:00
parent 192c2030d3
commit 75cde7e9d6
4 changed files with 1 additions and 12 deletions

View File

@ -1,5 +0,0 @@
FROM busybox
VOLUME ["/var/docs"]
ADD data /var/docs/
RUN chown -R 1001:1001 /var/docs
CMD ["/bin/sh"]

View File

@ -1,3 +0,0 @@
#!/bin/sh
docker build -t sismics/docs_data .

View File

@ -1,3 +0,0 @@
#!/bin/sh
docker rm -f sismics_docs_data
docker run --name sismics_docs_data sismics/docs_data

View File

@ -4,7 +4,7 @@
<Call class="java.lang.System" name="setProperty"> <Call class="java.lang.System" name="setProperty">
<Arg>docs.home</Arg> <Arg>docs.home</Arg>
<Arg>/var/docs</Arg> <Arg>/data</Arg>
</Call> </Call>
</Configure> </Configure>