dotnet-installer/scripts/dockerrun-as-current-user.sh
2017-02-03 12:09:54 -08:00

9 lines
244 B
Bash

#!/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)" "$@"