From: syed-al (@syed-al) <noreply+syed-al@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #646: Changing User and Group ID from 999 to Custom ID.
Date: Mon, 19 Aug 2024 12:25:55 +0000
Message-ID: <gh-pgvector-pgvector-646@github.com> (raw)
I am facing the difficulty of the data folder which is mapped to host system from the pgvector docker, changing the owner. The pgvector docker creates a new user `postgres` with uid and gid `999`. The value of 999 on the host system is taken by something else, hence on the host the owner of the folder is changing.
To avoid this I would want to provide my local host user as a parameter to the pgvector docker such that it used that uid and gid instead of the `999` present in the dockerfile.
Also, it would be helpful if you can update the dockerfile in the git repo to the latest docker file being used in the docker hub.