From 200bb5e42afbee3bd129d5e97bd753ef62d4accb Mon Sep 17 00:00:00 2001 From: Preston Van Loon Date: Wed, 8 Jan 2020 11:52:59 -0800 Subject: [PATCH] Docker: Make root user the default (#4461) * make root user the default * Merge branch 'master' into root-user * Merge refs/heads/master into root-user * Merge refs/heads/master into root-user --- tools/BUILD.bazel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/BUILD.bazel b/tools/BUILD.bazel index 779b537e3..cfab5f0d1 100644 --- a/tools/BUILD.bazel +++ b/tools/BUILD.bazel @@ -48,7 +48,7 @@ container_image( name = "cc_image", base = "@cc_image_base//image", tars = [":passwd_tar"], - user = "nonroot", + user = "root", visibility = ["//visibility:public"], ) @@ -56,6 +56,6 @@ container_image( name = "go_image", base = "@go_image_base//image", tars = [":passwd_tar"], - user = "nonroot", + user = "root", visibility = ["//visibility:public"], )