update Dockerfiles (#2937)

- better cleanup for vim
- introduce dumb-init for patroni containers
This commit is contained in:
Konstantin Demin
2023-11-27 09:38:03 +01:00
committed by GitHub
parent bb804074f7
commit 36e3dfbe41
3 changed files with 9 additions and 7 deletions
+3 -3
View File
@@ -94,9 +94,9 @@ RUN set -ex \
/usr/share/locale/??_?? \
/usr/share/postgresql/*/man \
/usr/share/postgresql-common/pg_wrapper \
/usr/share/vim/vim80/doc \
/usr/share/vim/vim80/lang \
/usr/share/vim/vim80/tutor \
/usr/share/vim/vim*/doc \
/usr/share/vim/vim*/lang \
/usr/share/vim/vim*/tutor \
# /var/lib/dpkg/info/* \
&& find /usr/bin -xtype l -delete \
&& find /var/log -type f -exec truncate --size 0 {} \; \