diff --git a/Dockerfile-15 b/Dockerfile-15 index 62e0308df..45c6741b0 100644 --- a/Dockerfile-15 +++ b/Dockerfile-15 @@ -113,7 +113,7 @@ COPY . /nixpg WORKDIR /nixpg -RUN nix profile install .#psql_15/bin +RUN nix profile add path:.#psql_15/bin RUN nix store gc @@ -167,7 +167,7 @@ FROM base as groonga WORKDIR /nixpg -RUN nix profile install .#supabase-groonga && \ +RUN nix profile add path:.#supabase-groonga && \ mkdir -p /tmp/groonga-plugins && \ cp -r /nix/var/nix/profiles/default/lib/groonga/plugins /tmp/groonga-plugins/ @@ -209,7 +209,7 @@ COPY --from=groonga /tmp/groonga-plugins/plugins /usr/lib/groonga/plugins COPY --chown=postgres:postgres ansible/files/postgresql_config/postgresql.conf.j2 /etc/postgresql/postgresql.conf COPY --chown=postgres:postgres ansible/files/postgresql_config/pg_hba.conf.j2 /etc/postgresql/pg_hba.conf COPY --chown=postgres:postgres ansible/files/postgresql_config/pg_ident.conf.j2 /etc/postgresql/pg_ident.conf -COPY --chown=postgres:postgres ansible/files/postgresql_config/conf.d /etc/postgresql-custom/ +COPY --chown=postgres:postgres ansible/files/postgresql_config/conf.d /etc/postgresql-custom/conf.d COPY --chown=postgres:postgres ansible/files/postgresql_config/postgresql-stdout-log.conf /etc/postgresql/logging.conf COPY --chown=postgres:postgres ansible/files/postgresql_config/supautils.conf.j2 /etc/postgresql-custom/supautils.conf COPY --chown=postgres:postgres ansible/files/postgresql_extension_custom_scripts /etc/postgresql-custom/extension-custom-scripts @@ -227,7 +227,6 @@ RUN sed -i \ echo "pgsodium.getkey_script= '/usr/lib/postgresql/bin/pgsodium_getkey.sh'" >> /etc/postgresql/postgresql.conf && \ echo "vault.getkey_script= '/usr/lib/postgresql/bin/pgsodium_getkey.sh'" >> /etc/postgresql/postgresql.conf && \ usermod -aG postgres wal-g && \ - mkdir -p /etc/postgresql-custom/conf.d && \ chown -R postgres:postgres /etc/postgresql-custom # # Include schema migrations diff --git a/Dockerfile-17 b/Dockerfile-17 index 6c2f1c6bf..bf8284b52 100644 --- a/Dockerfile-17 +++ b/Dockerfile-17 @@ -116,7 +116,7 @@ COPY . /nixpg WORKDIR /nixpg -RUN nix profile install .#psql_17/bin +RUN nix profile add path:.#psql_17/bin RUN nix store gc @@ -171,7 +171,7 @@ FROM base as groonga WORKDIR /nixpg -RUN nix profile install .#supabase-groonga && \ +RUN nix profile add path:.#supabase-groonga && \ mkdir -p /tmp/groonga-plugins && \ cp -r /nix/var/nix/profiles/default/lib/groonga/plugins /tmp/groonga-plugins/ @@ -213,7 +213,7 @@ COPY --from=groonga /tmp/groonga-plugins/plugins /usr/lib/groonga/plugins COPY --chown=postgres:postgres ansible/files/postgresql_config/postgresql.conf.j2 /etc/postgresql/postgresql.conf COPY --chown=postgres:postgres ansible/files/postgresql_config/pg_hba.conf.j2 /etc/postgresql/pg_hba.conf COPY --chown=postgres:postgres ansible/files/postgresql_config/pg_ident.conf.j2 /etc/postgresql/pg_ident.conf -COPY --chown=postgres:postgres ansible/files/postgresql_config/conf.d /etc/postgresql-custom/ +COPY --chown=postgres:postgres ansible/files/postgresql_config/conf.d /etc/postgresql-custom/conf.d COPY --chown=postgres:postgres ansible/files/postgresql_config/postgresql-stdout-log.conf /etc/postgresql/logging.conf COPY --chown=postgres:postgres ansible/files/postgresql_config/supautils.conf.j2 /etc/postgresql-custom/supautils.conf COPY --chown=postgres:postgres ansible/files/postgresql_extension_custom_scripts /etc/postgresql-custom/extension-custom-scripts @@ -231,7 +231,6 @@ RUN sed -i \ echo "pgsodium.getkey_script= '/usr/lib/postgresql/bin/pgsodium_getkey.sh'" >> /etc/postgresql/postgresql.conf && \ echo "vault.getkey_script= '/usr/lib/postgresql/bin/pgsodium_getkey.sh'" >> /etc/postgresql/postgresql.conf && \ usermod -aG postgres wal-g && \ - mkdir -p /etc/postgresql-custom/conf.d && \ chown -R postgres:postgres /etc/postgresql-custom # Remove items from postgresql.conf diff --git a/Dockerfile-orioledb-17 b/Dockerfile-orioledb-17 index b242a8527..85a3d5a85 100644 --- a/Dockerfile-orioledb-17 +++ b/Dockerfile-orioledb-17 @@ -116,7 +116,7 @@ COPY . /nixpg WORKDIR /nixpg -RUN nix profile install .#psql_orioledb-17/bin +RUN nix profile add path:.#psql_orioledb-17/bin RUN nix store gc @@ -171,7 +171,7 @@ FROM base as groonga WORKDIR /nixpg -RUN nix profile install .#supabase-groonga && \ +RUN nix profile add path:.#supabase-groonga && \ mkdir -p /tmp/groonga-plugins && \ cp -r /nix/var/nix/profiles/default/lib/groonga/plugins /tmp/groonga-plugins/ @@ -213,7 +213,7 @@ COPY --from=groonga /tmp/groonga-plugins/plugins /usr/lib/groonga/plugins COPY --chown=postgres:postgres ansible/files/postgresql_config/postgresql.conf.j2 /etc/postgresql/postgresql.conf COPY --chown=postgres:postgres ansible/files/postgresql_config/pg_hba.conf.j2 /etc/postgresql/pg_hba.conf COPY --chown=postgres:postgres ansible/files/postgresql_config/pg_ident.conf.j2 /etc/postgresql/pg_ident.conf -COPY --chown=postgres:postgres ansible/files/postgresql_config/conf.d /etc/postgresql-custom/ +COPY --chown=postgres:postgres ansible/files/postgresql_config/conf.d /etc/postgresql-custom/conf.d COPY --chown=postgres:postgres ansible/files/postgresql_config/postgresql-stdout-log.conf /etc/postgresql/logging.conf COPY --chown=postgres:postgres ansible/files/postgresql_config/supautils.conf.j2 /etc/postgresql-custom/supautils.conf COPY --chown=postgres:postgres ansible/files/postgresql_extension_custom_scripts /etc/postgresql-custom/extension-custom-scripts @@ -231,7 +231,6 @@ RUN sed -i \ echo "pgsodium.getkey_script= '/usr/lib/postgresql/bin/pgsodium_getkey.sh'" >> /etc/postgresql/postgresql.conf && \ echo "vault.getkey_script= '/usr/lib/postgresql/bin/pgsodium_getkey.sh'" >> /etc/postgresql/postgresql.conf && \ usermod -aG postgres wal-g && \ - mkdir -p /etc/postgresql-custom/conf.d && \ chown -R postgres:postgres /etc/postgresql-custom # Remove items from postgresql.conf