This repository has been archived by the owner on Jan 2, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweak plugin builds as to not require superuser permissions anywhere
This will keep all the build work done by the user who invokes the commands, which allows for a little more development environment sanity. But only a little bit more.
- Loading branch information
R. Tyler Croy
committed
Dec 20, 2017
1 parent
54476ba
commit c8af284
Showing
5 changed files
with
27 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
build/repos | ||
webapp/ | ||
proxy/ | ||
assets/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
#!/bin/sh | ||
|
||
ROOTDIR=$(realpath $(dirname $0)/../) | ||
|
||
tty --quiet | ||
|
||
if [ $? -eq 0 ]; then | ||
TTY="-ti" | ||
fi; | ||
|
||
exec docker run --rm ${TTY} \ | ||
-v ${PWD}:${PWD} \ | ||
-w ${PWD} \ | ||
-v ${ROOTDIR}:${ROOTDIR} \ | ||
-w ${ROOTDIR} \ | ||
ruby:2-alpine $@ |