imagefiles/entrypoint.sh: Remove sync call

This slows down the container startup for what appears to be no
good reason.

This workaround was added in 2016:
dd9d902538 ,
see also https://github.com/moby/moby/issues/13594#issuecomment-262441366 ,
and hopefully AUFS has been fixed by now.
This commit is contained in:
Nicolas Boichat
2025-05-28 14:41:52 +02:00
parent abab9c6b4b
commit 494c154b87

View File

@ -38,7 +38,7 @@ if [[ -n $BUILDER_UID ]] && [[ -n $BUILDER_GID ]]; then
# Enable passwordless sudo capabilities for the user
chown root:$BUILDER_GID "$(which gosu)"
chmod +s "$(which gosu)"; sync
chmod +s "$(which gosu)"
# Execute project specific pre execution hook
if [[ -e /work/.dockcross ]]; then