tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
https://turso.tech/libsql
MIT License
9.54k stars 252 forks source link

Switch to using `gosu` in `docker-entrypoint.sh`? #1583

Closed penberg closed 2 months ago

penberg commented 2 months ago

The USER directive in Dockerfile can be inflexible on host directory permissions, for example. Let's look into using gosu, which is what PostgreSQL Docker image uses too.

More info https://stackoverflow.com/questions/36781372/docker-using-gosu-vs-user

penberg commented 2 months ago

Fixed by https://github.com/tursodatabase/libsql/pull/1590