From 0cbab491b606f0942a35e44ac8d22227a5c51cb4 Mon Sep 17 00:00:00 2001 From: Mhd Sulhan Date: Fri, 29 Jan 2016 19:19:02 +0700 Subject: Update all variable in images directory to use latest modification. --- arch-base-postgresql/vars.sh | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'arch-base-postgresql') diff --git a/arch-base-postgresql/vars.sh b/arch-base-postgresql/vars.sh index 3df9ec8..f2fcbef 100755 --- a/arch-base-postgresql/vars.sh +++ b/arch-base-postgresql/vars.sh @@ -1,16 +1,17 @@ #!/bin/zsh -THISD=${0:a:h} +HOSTNAME="arch-postgresql" -PKGS+=("util-linux") -PKGS_ADD+=("postgresql") +PKGS=(coreutils binutils findutils sed gzip file util-linux) +PKGS_ADD=("postgresql") +PKGS_REMOVED=(file gzip sed findutils less bzip2 pcre binutils util-linux) -IMAGE_NAME="sulhan/arch-postgresql" +IMAGE_NAME="sulhan/${HOSTNAME}" IMAGE_ARGS=(-c="VOLUME /var/lib/postgres" -c="EXPOSE 5432" -c="CMD /init.sh") -FILES+=("${THISD}/pg_hba.conf" "${ROOTFS}/") -FILES+=("${THISD}/postgresql.conf" "${ROOTFS}/") -FILES+=("${THISD}/init.sh" "${ROOTFS}/") -FILES+=("${THISD}/bootstrap_postgresql.sh" "${ROOTFS}/") +FILES=("${PWD}/pg_hba.conf" "${ROOTFS}/") +FILES+=("${PWD}/postgresql.conf" "${ROOTFS}/") +FILES+=("${PWD}/init.sh" "${ROOTFS}/") +FILES+=("${PWD}/bootstrap_postgresql.sh" "${ROOTFS}/") -BOOTSTRAP_S+=("/bootstrap_postgresql.sh") +BOOTSTRAP_SCRIPTS=("/bootstrap_postgresql.sh") -- cgit v1.3