summaryrefslogtreecommitdiffhomepage
path: root/runsc/container/test_app/BUILD
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2019-07-23 14:35:50 -0700
committergVisor bot <gvisor-bot@google.com>2019-07-23 14:37:07 -0700
commit04cbb13ce9b151cf906f42e3f18ce3a875f01f63 (patch)
tree3c68885355ff140b59f5aee4b149911bcb72c439 /runsc/container/test_app/BUILD
parent57745994384ee1ff94fc7bed4f814ba75e39d48e (diff)
Give each container a distinct MountNamespace.
This keeps all container filesystem completely separate from eachother (including from the root container filesystem), and allows us to get rid of the "__runsc_containers__" directory. It also simplifies container startup/teardown as we don't have to muck around in the root container's filesystem. PiperOrigin-RevId: 259613346
Diffstat (limited to 'runsc/container/test_app/BUILD')
-rw-r--r--runsc/container/test_app/BUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/runsc/container/test_app/BUILD b/runsc/container/test_app/BUILD
index 054705ed7..82dbd54d2 100644
--- a/runsc/container/test_app/BUILD
+++ b/runsc/container/test_app/BUILD
@@ -5,10 +5,14 @@ package(licenses = ["notice"])
go_binary(
name = "test_app",
testonly = 1,
- srcs = ["test_app.go"],
+ srcs = [
+ "fds.go",
+ "test_app.go",
+ ],
pure = "on",
visibility = ["//runsc/container:__pkg__"],
deps = [
+ "//pkg/unet",
"//runsc/test/testutil",
"@com_github_google_subcommands//:go_default_library",
],