From b63d1713958d62a3cdb91b5940616e5f47646427 Mon Sep 17 00:00:00 2001 From: nikunis Date: Mon, 20 Nov 2023 13:27:19 +0500 Subject: [PATCH] fixes again --- docker/Dockerfile | 1 - docker/bin/setup | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 0cf42e891..90ee6e5da 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -24,7 +24,6 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN apt-get update && apt-get install -y --no-install-recommends \ curl \ - net-tools \ lsb-release \ ca-certificates \ libssl-dev \ diff --git a/docker/bin/setup b/docker/bin/setup index f1cacb3c8..211daff86 100755 --- a/docker/bin/setup +++ b/docker/bin/setup @@ -50,7 +50,7 @@ sudo -u postgres /usr/bin/pg_basebackup -D /var/lib/postgresql/14/repl -R -h loc sudo -u postgres /usr/lib/postgresql/14/bin/pg_ctl -D /var/lib/postgresql/14/repl/ -o '-p 5433' start # Create databases -for database_name in db scram_db ldap_db auth_query_db db1 hba_db tsa_db cores_db; do +for database_name in db scram_db ldap_db auth_query_db db1 hba_db tsa_db; do sudo -u postgres createdb $database_name >> "$SETUP_LOG" 2>&1 || { echo "ERROR: 'createdb $database_name' failed, examine the log" cat "$SETUP_LOG"