Fix Roundcube updates with development image
authorPablo Zmdl <redacted>
Tue, 19 Aug 2025 11:12:27 +0000 (13:12 +0200)
committerPablo Zmdl <redacted>
Tue, 19 Aug 2025 11:12:27 +0000 (13:12 +0200)
Since we're using the nonroot-image, we can't (and don't need to) use `sudo`.

development/docker-entrypoint.sh

index 7c24ef3d1e0578fadb5f1937834f0743afefa87e..2e9fb714c073ed0c4fcf43f814e2257be082ed7b 100644 (file)
@@ -48,6 +48,6 @@ fi
 bin/updatecss.sh
 
 # Initialize or update the database.
-sudo -u www-data bin/initdb.sh --dir=$PWD/SQL --update || echo "Failed to initialize/update the database. Please start with an empty database and restart the container."
+bin/initdb.sh --dir=$PWD/SQL --update || echo "Failed to initialize/update the database. Please start with an empty database and restart the container."
 
 exec apache2-foreground
git clone https://git.99rst.org/PROJECT