Skip to content

Commit

Permalink
changes shebang from bash to sh so that drun can run inside alpine ba…
Browse files Browse the repository at this point in the history
…sed images like hub.docker.com/r/library/docker
  • Loading branch information
jpbochi committed Aug 30, 2016
1 parent f72578f commit 3c99001
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drun
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/usr/bin/env sh
set -o errexit
set -o pipefail
set -o nounset
Expand Down Expand Up @@ -46,6 +46,7 @@ while getopts ':e:E:hI:knv:x' OPT; do
n)
IMAGE="node:$(node_version)"
EXTRA_OPTS="${EXTRA_OPTS:-} \
-v $HOME/.npmrc:/usr/etc/npmrc:ro \
-v $HOME/.npmrc:/usr/local/etc/npmrc:ro \
-v $HOME/.npm:$CONTAINER_HOME/.npm \
-v $CONTAINER_HOME/.npm/_git-remotes"
Expand Down

0 comments on commit 3c99001

Please sign in to comment.