Run Docker as current user in official builds

This commit is contained in:
Nate Amundson 2017-02-02 15:26:11 -08:00
parent 83ca9bf952
commit 5cb80c04ee
2 changed files with 16 additions and 6 deletions

View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
#
# Copyright (c) .NET Foundation and contributors. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
#
set -e
docker run -u="$(id -u):$(id -g)" "$@"