summaryrefslogtreecommitdiff
path: root/Dockerfile.assets
diff options
context:
space:
mode:
authorIan Baum <ibaum@gitlab.com>2018-10-09 13:26:43 -0500
committerIan Baum <ibaum@gitlab.com>2018-10-31 11:21:14 -0500
commit70ee4e1b3ea9b5fa59fbe3e60733c5601804fc9e (patch)
tree76dd3dc85be043fcdbf3885ee9842e2d8bda9562 /Dockerfile.assets
parent86d8fd86a719aa493905d7168d6f9da433ad8600 (diff)
downloadgitlab-ce-70ee4e1b3ea9b5fa59fbe3e60733c5601804fc9e.tar.gz
Build a docker container storing only the frontent assets
* Run as part of gitlab:assets:compile job * Will be used by omnibus-gitlab and the CNG images to avoid compiling multiple times https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/22235
Diffstat (limited to 'Dockerfile.assets')
-rw-r--r--Dockerfile.assets4
1 files changed, 4 insertions, 0 deletions
diff --git a/Dockerfile.assets b/Dockerfile.assets
new file mode 100644
index 00000000000..403d16cc4ab
--- /dev/null
+++ b/Dockerfile.assets
@@ -0,0 +1,4 @@
+# Simple container to store assets for later use
+FROM scratch
+ADD public/assets /assets/
+CMD /bin/true