qinglong/docker
copilot-swe-agent[bot] cb93a1f0d3
fix: support non-root user container startup
- Guard /etc/resolv.conf write and crond behind root check in entrypoint;
  non-root containers now stay alive via 'tail -f /dev/null' instead of
  failing when crond exits with EPERM
- Set PM2_HOME to ${QL_DIR}/data/.pm2 (inside the data volume) so PM2
  does not fall back to /root/.pm2, which is inaccessible to non-root users
- Pre-create /ql/.tmp and /ql/shell/preload during image build and make
  them world-writable so non-root processes can write runtime files
- Wrap directory creation in initFile.ts with try/catch + recursive:true
  so a permission error on ~/.ssh (HOME=/root for non-root user) is logged
  as a warning instead of crashing the server init
2026-05-24 06:39:38 +00:00
..
310.Dockerfile fix: support non-root user container startup 2026-05-24 06:39:38 +00:00
docker-compose.yml chore: Update docker-compose.yml (#2553) 2024-11-08 22:52:19 +08:00
docker-entrypoint.sh fix: support non-root user container startup 2026-05-24 06:39:38 +00:00
Dockerfile fix: support non-root user container startup 2026-05-24 06:39:38 +00:00