dotnet-installer/old/scripts/dockerrun-as-current-user.sh
2018-10-21 20:47:58 -07: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)" "$@"