summaryrefslogtreecommitdiff
path: root/docker/data/Dockerfile
diff options
context:
space:
mode:
authorJozef Vaclavik <jozef@snabb.me>2015-03-20 20:03:14 +0100
committerJozef Vaclavik <jozef@snabb.me>2015-03-20 20:03:14 +0100
commit71e6871737bebbb7164f1c0853120cd209428259 (patch)
treef089a2512956437db27c1af8c0417c8531d18ba6 /docker/data/Dockerfile
parentd735321ebdee53b84ea45090227cf2a571a534e0 (diff)
downloadgitlab-ce-71e6871737bebbb7164f1c0853120cd209428259.tar.gz
Separate Dockerfile for Data and Application
Diffstat (limited to 'docker/data/Dockerfile')
-rw-r--r--docker/data/Dockerfile8
1 files changed, 8 insertions, 0 deletions
diff --git a/docker/data/Dockerfile b/docker/data/Dockerfile
new file mode 100644
index 00000000000..ea0175c4aa2
--- /dev/null
+++ b/docker/data/Dockerfile
@@ -0,0 +1,8 @@
+FROM busybox
+
+# Declare volumes
+VOLUME ["/var/opt/gitlab", "/var/log/gitlab", "/etc/gitlab"]
+# Copy assets
+COPY assets/gitlab.rb /etc/gitlab/
+
+CMD /bin/sh