mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
fix postgres build
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
adba1d645f
commit
051f202fdf
2 changed files with 5 additions and 4 deletions
|
|
@ -27,10 +27,6 @@ RUN set -ex; \
|
|||
mkdir /mnt/data; \
|
||||
chown postgres:postgres /mnt/data; \
|
||||
\
|
||||
# Modify conf
|
||||
grep -q "#log_checkpoints" /var/lib/postgresql/data/postgresql.conf; \
|
||||
sed -i 's|#log_checkpoints.*|log_checkpoints = off|' /var/lib/postgresql/data/postgresql.conf; \
|
||||
\
|
||||
# Give root a random password
|
||||
echo "root:$(openssl rand -base64 12)" | chpasswd; \
|
||||
apk --no-cache del openssl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue