forked from learningequality/kolibri-installer-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust docker script when using podman
In podman, a user namespace is setup with IDs mapped such that the executing user is root in the container. When that's the case (or if docker is in use and the executing user is root), don't override the container user or the HOME environment variable. In that case, the container user's home directory will be /root, so mount the cache there instead of the predefined /cache.
- Loading branch information
1 parent
ad389de
commit d32ca64
Showing
1 changed file
with
34 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters