Skip to content

Commit

Permalink
Merge pull request #85 from JarvusInnovations/develop
Browse files Browse the repository at this point in the history
Release: hologit v0.29.1
  • Loading branch information
themightychris authored May 20, 2020
2 parents 4264694 + 28bb567 commit 8cd0e4a
Show file tree
Hide file tree
Showing 3 changed files with 1,533 additions and 1,503 deletions.
5 changes: 3 additions & 2 deletions lib/Studio.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,9 @@ class Studio {
logger.info(`configuring container to use user: ${username}`);
await containerExec(container, '/bin/mkdir', '/home');
await containerExec(container, '/bin/adduser', '-u', `${uid}`, '-D', username);
await containerExec(container, '/bin/chmod', 'go+w', '/hab/cache');
await containerExec(container, '/bin/find', '/hab/pkgs', '-maxdepth', '3', '-type', 'd', '-exec', 'chmod', `go+w`, '{}', ';');
await containerExec(container, '/bin/chown', '-R', username, '/hab/cache');
await containerExec(container, '/bin/find', '/hab/pkgs', '-maxdepth', '3', '-type', 'd', '-exec', 'chown', `-R`, username, '{}', ';');
await containerExec(container, '/bin/hab', 'pkg', 'install', '--binlink', '--force', 'core/tar');
container.defaultUser = `${uid}:${gid}`;
}

Expand Down
Loading

0 comments on commit 8cd0e4a

Please sign in to comment.