diff options
| author | Mhd Sulhan <ms@kilabit.info> | 2015-09-04 21:49:27 +0700 |
|---|---|---|
| committer | Mhd Sulhan <ms@kilabit.info> | 2015-09-04 21:49:27 +0700 |
| commit | d3e79c17e1f8e8a0e5643dc8f3ade2af333f58f3 (patch) | |
| tree | e5ea1d3537dc1310082dda9d902d0aba7885458f /arch-nodejs | |
| parent | 1b0be1cd4f4b0381ede08816544ad8e1287c1032 (diff) | |
| download | arch-docker-d3e79c17e1f8e8a0e5643dc8f3ade2af333f58f3.tar.xz | |
Fetch only packages to be installed, do not need to update host system.
* Remove tag on docker image build command.
Diffstat (limited to 'arch-nodejs')
| -rwxr-xr-x | arch-nodejs/build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch-nodejs/build.sh b/arch-nodejs/build.sh index bd2056d..97b0ed9 100755 --- a/arch-nodejs/build.sh +++ b/arch-nodejs/build.sh @@ -24,7 +24,7 @@ clean() { } docker_build() { - docker build --force-rm -t sulhan/arch-nodejs:latest . + docker build --force-rm -t sulhan/arch-nodejs . s=$? clean $s } @@ -46,7 +46,7 @@ fi echo "==> Building docker image using local db and packages ..." ## always make sure local db and packages up to date. -sudo pacman -Syu --noconfirm --needed nodejs npm +sudo pacman -Syw --noconfirm --needed nodejs npm cp /var/lib/pacman/sync/*.db ./ cp /var/cache/pacman/pkg/icu* ./ |
