startersclan / docker-sourceservers

Source / Goldsource dedicated server images built through use of steamcmd. 🐳
Apache License 2.0
47 stars 5 forks source link

Fix (ci): Use `df -h || true` in `build.sh` for non-`sudo` environments #115

Closed leojonathanoh closed 1 year ago

leojonathanoh commented 1 year ago

E.g. on alpine, df -h as a regular user may fail:

$ ./build.sh
df: /var/lib/docker/overlay2/3c1454738995025818fa1c72050c4d91624479ae66c8b20b576058efafcb978f/merged: Permission denied
df: /run/docker/netns/5e6ac152cf9e: Permission denied
joeltimothyoh commented 1 year ago

lgtm. feel free to merge @leojonathanoh