Releases: jpbochi/drun
Releases · jpbochi/drun
Corrects blunder introduced in v0.9.1
Merge pull request #9 from jpbochi/blunder fixes blunder
Removed bashisms
Also, tries curl --unix-socket
where nc -U
is not supported.
Optionally avoids mounting /var/run/docker.sock
By default, drun
always did -v /var/run/docker.sock:/var/run/docker.sock
. Since this was causing problems in some cases, we added some verification to see if the socket is operational before mounting. Also, drun -D
won't even try to mount the daemon socket.
Extras:
- use
-A
if you prefer alpine images (e.g.drun -NA
will dodocker mhart/alpine-node-auto:x.x.x
instead ofdocker node:x.x.x
) - if XTRACE is set outside of
drun
, it effectively enables the-x
option
Maps volumes from current container if one is detected
Merge pull request #2 from rodolfo42/patch-2 clarify .npmrc mount
does not mount $HOME/.npm/_git-remotes by default (with -N option)
v0.7.1 don't mount £HOME/.npm/_git-remotes by default
`-N` option mounts ~/.npmrc if one exists
v0.7.0 mounts ~/.npmrc if one exists
does not fail if temp env file was deleted while container was up
v0.6.1 does not fail if temp env file was deleted while container was up
splits -n option into -N and -P for flexibility
drun -n
is not suppoerted anymore. Use drun -NP
or drun -N
instead.
uses raw shell instead of bash
v0.5.0 changes shebang from bash to sh so that drun can run inside alpine ba…
fixes mount of local ~/.npmrc
v0.4.4 corrects mount of ~/.npmrc to £(npm prefix -g)/etc/npmrc