From 241bf2b3043b44083972a9c2f786d4526e662dee Mon Sep 17 00:00:00 2001 From: Mario Alegre Date: Sat, 26 Sep 2020 14:04:56 -0400 Subject: [PATCH] bugfix to PSQL version auto-detect in Gitea containerfile --- src/gitea/Containerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gitea/Containerfile b/src/gitea/Containerfile index 32eb3c8..4096bfe 100644 --- a/src/gitea/Containerfile +++ b/src/gitea/Containerfile @@ -47,7 +47,8 @@ COPY assets/bin/ /usr/local/bin/ ### # configure PostgreSQL access -COPY --chown=postgres:postgres assets/pg_hba.conf /etc/postgresql/${PSQLV:?}/main/pg_hba.conf +COPY --chown=postgres:postgres assets/pg_hba.conf ./ +RUN mv pg_hba.conf /etc/postgresql/${PSQLV:?}/main/pg_hba.conf ### ### Gitea