Skip to content

Commit

Permalink
fixes again
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaUnisikhin committed Nov 20, 2023
1 parent 46ad3e7 commit b63d171
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 1 addition & 1 deletion docker/bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b63d171

Please sign in to comment.