mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-21 10:23:34 +02:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user