diff options
| author | Mhd Sulhan <ms@kilabit.info> | 2015-11-20 13:39:38 +0700 |
|---|---|---|
| committer | Mhd Sulhan <ms@kilabit.info> | 2015-11-20 13:39:38 +0700 |
| commit | 6c16d9d41aeb4af6e180df1f81080111cf91f4a1 (patch) | |
| tree | aded461cb028bd669c832efecfc2bf4cf1cb16d9 /arch-base-nodejs/bootstrap_nodejs.sh | |
| parent | 36868465aa7d21736afcb057b2d16f5bfd6436e7 (diff) | |
| download | arch-docker-6c16d9d41aeb4af6e180df1f81080111cf91f4a1.tar.xz | |
arch-base-nodejs: clean rootfs after bootstrapping.
* Remove symlink to test source.
* Backup npm cache.
* init.sh: always run npm install after starting up the container.
Diffstat (limited to 'arch-base-nodejs/bootstrap_nodejs.sh')
| -rwxr-xr-x | arch-base-nodejs/bootstrap_nodejs.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch-base-nodejs/bootstrap_nodejs.sh b/arch-base-nodejs/bootstrap_nodejs.sh index 313a4cb..d698f12 100755 --- a/arch-base-nodejs/bootstrap_nodejs.sh +++ b/arch-base-nodejs/bootstrap_nodejs.sh @@ -3,9 +3,4 @@ echo "==> bootstraping nodejs ..." ## cleaning ... -rm -r /usr/share/icu/* -rm -r /usr/lib/node_modules/npm/doc/* -rm -r /usr/lib/node_modules/npm/html/doc/* -rm -r /usr/lib/node_modules/npm/man/* -rm -rf /usr/lib/python2.7/test -rm -rf /usr/share/perl5 +bootstrap_clean_nodejs |
