mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-23 00:54:26 +01:00
Fix "text file busy" error reported when using AUFS storage driver
This commit fixes the following error specific to AUFS: /dockcross/entrypoint.sh: line 47: /usr/bin/gosu: Text file busy /dockcross/entrypoint.sh: line 47: /usr/bin/gosu: Success Thanks @sobolevn See https://github.com/moby/moby/issues/13594#issuecomment-262441366
This commit is contained in:
parent
6e59959a6a
commit
dd9d902538
@ -41,7 +41,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)
|
||||
chmod +s $(which gosu); sync
|
||||
|
||||
# Run the command as the specified user/group.
|
||||
exec gosu $BUILDER_UID:$BUILDER_GID "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user