Make real binaries for docker aliases of well known commands

This commit is contained in:
Pierre Martin
2017-01-28 04:23:57 +01:00
parent e403d4e508
commit 2db203a865
6 changed files with 10 additions and 3 deletions

2
bin/npm Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
docker run -ti --rm --name npm-${PWD##*/} -e NPM_CONFIG_PROGRESS=false -v `pwd`:/project -v ~/.npm:/root/.npm -w /project node:7.4-alpine npm "$@"