Index: blimp/engine/testing/Dockerfile |
diff --git a/blimp/engine/testing/Dockerfile b/blimp/engine/testing/Dockerfile |
index 711535347dce4aa52f8bb5e3a6fc7314a5f3f357..71c87fc8f93373d464d83d126631c2e39d2a78da 100644 |
--- a/blimp/engine/testing/Dockerfile |
+++ b/blimp/engine/testing/Dockerfile |
@@ -1,2 +1,18 @@ |
-# Testing dockerfile stub |
-# TODO(jessicag): Fill in (crbug.com/616945). |
+# This Dockerfile is used to build a filesystem environment containing |
+# binaries and required files for Blimp Engine test and tests for dependencies |
+# of Blimp Engine. It is built on the same base image that is used to run the |
+# Engine itself. |
+FROM base:latest |
+ |
+RUN mkdir -p /out/test/ |
+ |
+# The glob below expands to all files, but does not add directories |
+# recursively. |
+# Test binaries assume src directory is 2 levels down. While this behavior can |
+# be changed with flags, the directory structure is set up to minimize |
+# potential problems with initial integration. |
+ADD * /out/test/ |
+ |
+RUN chown -R blimp_user /out/test/ |
+ |
+USER blimp_user |