diff options
| author | Mhd Sulhan <ms@kilabit.info> | 2016-01-29 19:19:02 +0700 |
|---|---|---|
| committer | Mhd Sulhan <ms@kilabit.info> | 2016-01-29 19:19:02 +0700 |
| commit | 0cbab491b606f0942a35e44ac8d22227a5c51cb4 (patch) | |
| tree | 240bd2fef8def62ff3232aeb010f0ef1e2840f4a /arch-base-postgresql | |
| parent | bdad0b6e1698b8062f5422f0a855b46605747546 (diff) | |
| download | arch-docker-0cbab491b606f0942a35e44ac8d22227a5c51cb4.tar.xz | |
Update all variable in images directory to use latest modification.
Diffstat (limited to 'arch-base-postgresql')
| -rwxr-xr-x | arch-base-postgresql/vars.sh | 19 |
1 files changed, 10 insertions, 9 deletions
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") |
