pq: could not access file "anon": No such file or directory
Hi,
I'm trying to build my own image and use it for anonymizing data.
git clone https://gitlab.com/dalibo/postgresql_anonymizer.git
cd postgresql_anonymizer
export DOCKER_BUILDKIT=1
export DOCKER_DEFAULT_PLATFORM=linux/amd64
PG_MAJOR_VERSION=16 make docker_image
docker tag registry.gitlab.com/dalibo/postgresql_anonymizer:latest <private-repo>:pg16_anonymizer
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin <my-aws-account>
docker image push <private-repo>
Then I'm trying to run script like:
"/anon.sh;"
+ "/docker-entrypoint-initdb.d/init_anon.sh;"
And get logs like this:
pq: could not access file "anon": No such file or directory
Am I missing something while building the docker image ?