Base docker image needs "procps" apt package, otherwise "pgrep" is missing

in order to run unit tests on my plugin, I need to follow these instructions:
https://baserow.io/docs/plugins/boilerplate

docker-compose -f docker-compose.dev.yml exec -T my-baserow-plugin /baserow/supervisor/docker-postgres-setup.sh run <<< "ALTER USER baserow CREATEDB;"

this fails unless the pgrep utility is installed (from the ubuntu procps package), see here: deploy/all-in-one/supervisor/docker-postgres-setup.sh · develop · Bram Wiepjes / baserow · GitLab

I notice procps is in this image: backend/Dockerfile · 1.13.2 · Bram Wiepjes / baserow · GitLab
but not this one: deploy/all-in-one/Dockerfile · 1.13.2 · Bram Wiepjes / baserow · GitLab

1 Like

Hey thanks for pointing this out, no idea how I had this working for me locally. Perhaps I had manually installed procps in my plugins docker image? Either way will fix in the all-in-one image.

This has been fixed and will be in the next version of Baserow or on baserow:develop-latest after Fix missing dependency in all in one image breaking `docker exec -i baserow... (!1226) · Merge requests · Bram Wiepjes / baserow · GitLab is merged.

Many thanks ! And what’s the best way to report such issues in the future, should I open an issue on gitlab instead ?

@lucw opening an issue on GitLab is generally preferred over community posts. Both are great though!

1 Like