aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/rake-compiler-dock/build/runas
diff options
context:
space:
mode:
authorGravatar Alexander Polcyn <apolcyn@google.com>2018-01-03 14:47:26 -0800
committerGravatar Alexander Polcyn <apolcyn@google.com>2018-01-08 13:27:20 -0800
commit8065a5e73c54801ed0f6c2b6e5469c4e34a83f48 (patch)
tree8aaec3160d4ef41a2d5582c435d078db8d65245c /third_party/rake-compiler-dock/build/runas
parent2b0ab320c12cb807cf05b3295b7017d0ccbf66f5 (diff)
Use rake-compiler-dock's Dockerfile as a base in grpc's fork of it
Diffstat (limited to 'third_party/rake-compiler-dock/build/runas')
-rwxr-xr-xthird_party/rake-compiler-dock/build/runas12
1 files changed, 0 insertions, 12 deletions
diff --git a/third_party/rake-compiler-dock/build/runas b/third_party/rake-compiler-dock/build/runas
deleted file mode 100755
index b29ce31fcc..0000000000
--- a/third_party/rake-compiler-dock/build/runas
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/bash
-
-groupadd -g "$GID" "$GROUP"
-mkdir -p /tmp/home
-useradd -g "$GID" -u "$UID" -G rvm,sudo -p "" -b /tmp/home -m "$USER"
-
-HOME=$(bash <<< "echo ~$USER")
-ln -s /usr/local/rake-compiler "$HOME"/.rake-compiler
-
-sudo -u "$USER" --set-home \
- BASH_ENV=/etc/rubybashrc \
- -- "$@"