Skip to content

Commit 7c36087

Browse files
committed
bake all the things
1 parent b7cc3cf commit 7c36087

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

diag.zip

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"message": "Requires authentication",
3+
"documentation_url": "https://docs.github.com/rest",
4+
"status": "401"
5+
}

docker/pghero/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ RUN apt-get update && \
1919
git \
2020
nodejs \
2121
tzdata \
22-
libreadline-dev && \
22+
libreadline-dev \
23+
libyaml-dev && \
2324
rm -rf /var/lib/apt/lists/*
2425

2526
RUN gem install bundler pg puma

scripts/pghero_entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ EOF
4343
export NSS_WRAPPER_PASSWD="${tmp_passwd}"
4444
export NSS_WRAPPER_GROUP="${tmp_group}"
4545
trap 'rm -f "${NSS_WRAPPER_PASSWD:-}" "${NSS_WRAPPER_GROUP:-}"' EXIT
46+
echo "[pghero] initialized nss_wrapper (user $(id -u))" >&2
4647
}
4748

4849
if ! wait_for_password_file; then
@@ -54,6 +55,7 @@ export DATABASE_URL="postgres://${POSTGRES_SUPERUSER}:${PASSWORD}@${POSTGRES_HOS
5455
export PGHERO_DATABASE_URL="${DATABASE_URL}"
5556

5657
ensure_passwd_entry
58+
echo "[pghero] LD_PRELOAD target=${LD_PRELOAD:-unset}" >&2
5759

5860
wait_for_database() {
5961
attempts=${PGHERO_DB_WAIT_ATTEMPTS:-90}

0 commit comments

Comments
 (0)