Releases: jpbochi/drun
Releases · jpbochi/drun
added support to read Node.js version from .nvmrc
- node version written to
.nvmrc
overrides any version in package.json - resolve
lts/${LTS_NAME}
versions by querying https://nodejs.org/dist/index.tab. See current LTS versions at https://github.com/nodejs/Release#release-schedule
changes at #29
Stop using mhart/alpine-node-auto
stop mapping .yarnrc to container HOME
that was only made as a workaround for an yarn issue that has been fixed one year ago
adds -V option to optimize mount of current directory
example: drun -V delegated ...
will use docker run -v $(pwd):$(pwd):delegated ...
see docker docs at see https://docs.docker.com/docker-for-mac/osxfs-caching
improved handling of volume mounting in inception cases
Merge pull request #21 from jpbochi/inception better test to verify if any mount includes the current directory
no --net=host by default
Merge pull request #18 from jpbochi/no-net-host removes default --net=host
ignores ranges when reading node version from package.json
Merge pull request #17 from jpbochi/ranges ignores ranges when reading package.json | engines.node
adds automatic mapping for .yarnrc
Merge pull request #16 from jpbochi/yarn adds auto mapping for .yarnrc if there is any
extra options
All docker run
options that have a single letter and require one argument (eg, docker run -p 80:80
) are accepted seamlessly by drun
, too. For completeness, they are -a
, -c
, -e
, -h
, -l
, -m
, -p
, -u
, -v
, and -w
.
Also, for long options like --dns
, you can now use -X
like this: drun -X --dns=8.8.8.8 ...
.
adds -M (alpine|wheezy|slim) option to specify alternative node images
Merge pull request #14 from jpbochi/alternative-node adds -M (alpine|wheezy|slim) option to specify alternative node images