Commit graph

25 commits

Author SHA1 Message Date
Kron4ek
2a40644729
Add ability to mount the image using regular mount
Allows to mount the squahfs image via the regular mount command instead of squashfuse. In this case root rights will be requested via sudo during mounting and unmounting.
2021-04-01 15:42:02 +05:00
Kron4ek
0bdbc59ddf
Improve sandboxing 2021-03-31 16:59:09 +05:00
Kron4ek
3ba7200502
Add function to automatically download Nvidia libs
Disabled by default.
2021-03-30 13:08:20 +05:00
Kron4ek
d2a4ae25a1
Unmount image even when terminated ungracefully
This doesn't trap SIGKILL though, but there is nothing i can do about that.

Fixes #8
2021-03-30 00:41:06 +05:00
Kron4ek
a9a06a19d0
Do not bind /etc/hostname
Added accidentally in the previous commit
2021-03-29 19:00:38 +05:00
Kron4ek
b126b8aaff
Increase the priority of user-defined PATH 2021-03-29 18:58:27 +05:00
Kron4ek
8c4e89430b
Bind /etc/passwd and /etc/group to the container
Fixes #7
2021-03-29 18:33:43 +05:00
Kron4ek
bee17a8d44
Reduce the delay before exit
Two seconds is too much
2021-03-29 00:43:53 +05:00
Kron4ek
be51bc118f
Fix the size
Yep, again :)
2021-03-29 00:42:37 +05:00
frostworx
f0d9759b43
Just a few cosmetical changes (#6)
* minor cosmetics

* minor cosmetics

* pull own filesize from project page - removes need for hardcoded size

* Revert "pull own filesize from project page - removes need for hardcoded size" - nonsense

This reverts commit 5c540c3388.

Co-authored-by: frostworx <frost.zeux@gmail.com>
2021-03-29 00:36:13 +05:00
Kron4ek
05de8794a8
Fix typo 2021-03-28 17:39:37 +05:00
Kron4ek
e658f269e1
Add ability to use system squashfuse and bwrap
Instead of the builtin ones.
2021-03-28 17:37:46 +05:00
Kron4ek
7209561d08
Ability to set HOME directory to a custom location 2021-03-28 17:10:36 +05:00
Kron4ek
3ec5442180
Notify when autostarting and autoargs are working 2021-03-28 16:54:13 +05:00
Kron4ek
1a98848008
Do not unshare anything (for now)
This (the --hostname parameter, to be precise) breaks connection to X server on some distros (for example, on Slackware).
2021-03-28 16:45:02 +05:00
Kron4ek
c5675940e8
Add ability to automatically start applications
Fixes #2
2021-03-28 16:35:24 +05:00
Kron4ek
09a12ac220
Fix the size of the script
Always forget about this
2021-03-28 14:21:48 +05:00
Kron4ek
9ecc3197b0
Add a small delay before exit 2021-03-28 14:21:05 +05:00
Kron4ek
10fe13ae0f
Add /usr/lib/jvm/default/bin to PATH 2021-03-27 17:30:56 +05:00
Kron4ek
432382b190
Fix the script size 2021-03-27 16:57:10 +05:00
Kron4ek
96aee519a0
Bind /media to the container 2021-03-27 16:56:22 +05:00
Kron4ek
b7b6883144
Append hosts's PATH to the container 2021-03-27 16:55:05 +05:00
Kron4ek
3cd30d0651
Rename WHITELIST_DIRS to BIND
And now it can be used not only when SANDBOX is enabled
2021-03-27 15:32:34 +05:00
Kron4ek
c600b4b723
Do not unshare anything by default
Only unshare when SANDBOX is enabled
2021-03-27 15:01:24 +05:00
Kron4ek
f0a7155c35 Init repo 2021-03-26 22:03:50 +05:00