diff options
| author | Mhd Sulhan <ms@kilabit.info> | 2015-11-20 01:57:59 +0700 |
|---|---|---|
| committer | Mhd Sulhan <ms@kilabit.info> | 2015-11-20 01:57:59 +0700 |
| commit | f88d9cb8ef13b748415bd5688d7fd0a144eb8a6b (patch) | |
| tree | 185fe086e8aadf99eee200c0deaafc0b76bb417d /arch-base-nodejs/vars.sh | |
| parent | 7ef69d6cfeddc7ad0f6fc03b923269b5b5307557 (diff) | |
| download | arch-docker-f88d9cb8ef13b748415bd5688d7fd0a144eb8a6b.tar.xz | |
Add build script for nodejs image.
Diffstat (limited to 'arch-base-nodejs/vars.sh')
| -rwxr-xr-x | arch-base-nodejs/vars.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch-base-nodejs/vars.sh b/arch-base-nodejs/vars.sh new file mode 100755 index 0000000..712a639 --- /dev/null +++ b/arch-base-nodejs/vars.sh @@ -0,0 +1,17 @@ +#!/bin/zsh + +THISD=${0:a:h} + +ROOTFS_SIZE=900M + +PKGS+=(util-linux) +PKGS_ADD+=(git gcc make python2 nodejs npm) +PKGS_REMOVED=() + +IMAGE_NAME="sulhan/arch-nodejs" +IMAGE_ARGS=(-c="VOLUME /srv/www" -c="EXPOSE 80" -c="CMD /init.sh") + +FILES+=("${THISD}/init.sh" "${ROOTFS}/") +FILES+=("${THISD}/bootstrap_nodejs.sh" "${ROOTFS}/") + +BOOTSTRAP_S+=("/bootstrap_nodejs.sh") |
